Skip to content

set_camera_layout

FreeRuns at once; you can set it to Ask first

Same action in the terminal: capturemann edit camera

Set how the screen and the camera share the frame over a range: bubble (screen with the camera bubble; the default), screen (camera hidden), camera (camera full frame) or side_by_side (screen 2/3, camera 1/3).

  • Tier: Free, changes something: runs at once; the user can set it to Ask first.
  • Read-only: no
  • CLI: capturemann edit camera
  • Spec: EDT-1, EDT-2, EDT-3
NameTypeRequiredDefaultDescription
rangearray of number or stringyesThe range: [start, end], end after start. (min items 2, max items 2)
layoutbubble | screen | camera | side_by_sideyes
shapecircle | roundednobubble only.
rectarray of numbernobubble only: [x, y, w, h] as fractions of the frame, w from 0.05 to 1. (min items 4, max items 4)
ringanynobubble only: a fraction of the bubble width (0 to 0.5), true for the default ring, false for none.
mirrorbooleanno
transitioncut | smoothno"cut"
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_camera_layout", "arguments": {"capture_id": "rec_06GYEVMCKZSRHR46", "range": [0, 15], "layout": "bubble", "shape": "circle"}}