Skip to content

start_recording

ConfirmAsks first; you can set it to Allow

Same action in the terminal: capturemann record start

Start a screen recording of a display, a window or a region (physical px relative to the display, like capture_screenshot), optionally with the webcam, the microphone and system audio.

  • Tier: Confirm by default: asks on screen; the user can set it to Allow in Settings > Agents & CLI (the only tool that can be loosened).
  • Read-only: no
  • CLI: capturemann record start
  • Spec: REC-1-4, CAM-1, AUD-1, AUD-2, AGT-2, VOC-1
NameTypeRequiredDefaultDescription
modescreen | audiono"screen"audio: microphone and/or system audio only (see above).
presetstringnoEither a Quick Capture preset (a Preview feature): the name or id of a video or audio preset from list_presets. It fills mic, system_audio, camera, cursor, fps, countdown_s (and mode: "audio" for an audio preset) when the call leaves them out; an argument in the same call wins; target is still required for a screen recording; the confirmation shows the plan the preset resolves to; an unknown name fails with invalid_input naming it. Or, with mode: "audio", the use case: room, online, lecture, product or note. For the use case: room (interview, 1:1, meeting around a laptop), lecture and note record the microphone; online (call) and product (demo call) add system audio. Every source can still be set.
peopleintegernoOnly with mode: "audio": how many people speak, when known. Stored with the recording; the automatic speaker step (setting ai.auto_speakers, on by default) uses it as the speaker count. (min 1, max 8)
targetobject {display_id} or object {window_id} or object {display_id, rect}noRequired for a screen recording; refused with mode: "audio".
sizesource | 2160p | 1440p | 1080p | 720pnoOutput size; default source (native, no cap) or the recording.size setting.
fps30 | 60noDefault 30 or the recording.fps setting. 60 is accepted only after a passing run_fps_selftest for this display, size and codec (valid 30 days)...
codecauto | hevc | h264noauto: HEVC above 1920 px wide, else H.264.
qualityhigh | balanced | smallno
cameraboolean or string or object {on, device_id, resolution, mirror, shape, size, position}noRecord the webcam: false (default), true (the camera set in Settings > Webcam & audio (camera.device) when it is connected, else the system default camera), a device id, or an object.
micboolean or string or object {on, device_id, denoise}noRecord the microphone: false (default), true or default (the microphone set in Settings > Webcam & audio (audio.mic_device) when it is connected, else the system default input), a device id from list_devices, or an object.
system_audiobooleannofalse
cursorbooleannotrueRecord cursor telemetry (positions and clicks, never keystrokes). The pointer stays in the video unless cursor_separate is true.
cursor_separatebooleannofalseRecord the cursor separately (EDT-4): the pointer is left out of the screen video and drawn from the telemetry in the editor and the export, so it can be made bigger, smoother and given click effects. Needs cursor on...
max_duration_snumbernoStop automatically after this much recorded time (pauses do not count). (max 86400, above 0)
countdown_sintegernoCountdown before recording; default the recording.countdown_s setting (3). stop_recording during it cancels the start. (min 0, max 10)
countdownintegernoAlias of countdown_s. (min 0, max 10)
titlestringnoLibrary title; defaults to Recording <date> <time>.
excludeobject {bundle_ids, window_ids}no
request_idstringnoIdempotency key; a repeat within 24 h returns the first result. (min length 1, max length 256)

At least one of: (target) or (mode).

Returns: recording_id, capture_id, title, state, live_at_ms, started_at, by, countdown_s, mode, tracks, warnings, indicator, max_duration_s, restart_of.

Errors: invalid_input, permission_missing, busy, user_declined, confirmation_timeout (plus the common errors above).

JSON
{"name": "start_recording", "arguments": {"mode": "screen", "target": {"display_id": 1}, "fps": 30, "mic": true, "countdown_s": 3}}