set_background
FreeRuns at once; you can set it to Ask first
Same action in the terminal: capturemann edit background
Frame the screen on a background: none, a color, a two-stop gradient or an image, with padding, corner radius and shadow.
- Tier: Free, changes something: runs at once; the user can set it to Ask first.
- Read-only: no
- CLI:
capturemann edit background - Spec: EDT-1, EDT-2, EDT-3
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
kind | none | color | gradient | image | yes | ||
value | any | no | #rrggbb for color, ["#rrggbb", "#rrggbb"] for gradient, a file path for image. | |
padding_pct | number | no | Percent of the frame width. (min 0, max 20) | |
radius_px | integer | no | (min 0, max 24) | |
shadow | boolean | no | ||
capture_id | string | yes | Capture id, e.g. from capture_screenshot or list_library. (min length 1) | |
request_id | string | no | Idempotency key; a repeat within 24 h returns the first result. (min length 1, max length 256) |
Returns: capture_id, revision, action, by, changed, duration, duration_s, edits, can_undo, can_redo.
Errors: user_declined, not_found (plus the common errors above).
JSON
{"name": "set_background", "arguments": {"capture_id": "rec_06GYEVMCKZSRHR46", "kind": "color", "value": "#1E1E2E", "padding_pct": 6, "radius_px": 12, "shadow": true}}