Skip to content

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
NameTypeRequiredDefaultDescription
kindnone | color | gradient | imageyes
valueanyno#rrggbb for color, ["#rrggbb", "#rrggbb"] for gradient, a file path for image.
padding_pctnumbernoPercent of the frame width. (min 0, max 20)
radius_pxintegerno(min 0, max 24)
shadowbooleanno
capture_idstringyesCapture id, e.g. from capture_screenshot or list_library. (min length 1)
request_idstringnoIdempotency 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}}