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
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
range | array of number or string | yes | The range: [start, end], end after start. (min items 2, max items 2) | |
layout | bubble | screen | camera | side_by_side | yes | ||
shape | circle | rounded | no | bubble only. | |
rect | array of number | no | bubble only: [x, y, w, h] as fractions of the frame, w from 0.05 to 1. (min items 4, max items 4) | |
ring | any | no | bubble only: a fraction of the bubble width (0 to 0.5), true for the default ring, false for none. | |
mirror | boolean | no | ||
transition | cut | smooth | no | "cut" | |
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_camera_layout", "arguments": {"capture_id": "rec_06GYEVMCKZSRHR46", "range": [0, 15], "layout": "bubble", "shape": "circle"}}