Skip to content

undo

FreeRuns at once; you can set it to Ask first

Same action in the terminal: capturemann undo

Undo the last revision of a capture (one step reverts a whole earlier call).

  • Tier: Free, changes something: runs at once; the user can set it to Ask first.
  • Read-only: no
  • CLI: capturemann undo
  • Spec: ANN-3, AGT-3
NameTypeRequiredDefaultDescription
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, changed, can_undo, can_redo, image.

Errors: user_declined, not_found (plus the common errors above).

JSON
{"name": "undo", "arguments": {"capture_id": "shot_06GYEX0HFHRZHYWH"}}