Skip to content

cut_segments

FreeRuns at once; you can set it to Ask first

Same action in the terminal: capturemann edit cut

Cut ranges out of a recording; they are skipped in preview and export.

  • Tier: Free, changes something: runs at once; the user can set it to Ask first.
  • Read-only: no
  • CLI: capturemann edit cut
  • Spec: EDT-1, EDT-2, EDT-3
NameTypeRequiredDefaultDescription
rangesarray of array of number or stringyes(min items 1)
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: invalid_input, user_declined, not_found (plus the common errors above).

JSON
{"name": "cut_segments", "arguments": {"capture_id": "rec_06GYEVMCKZSRHR46", "ranges": [[10, 15], [40, 42]]}}