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
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
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, changed, can_undo, can_redo, image.
Errors: user_declined, not_found (plus the common errors above).
JSON
{"name": "undo", "arguments": {"capture_id": "shot_06GYEX0HFHRZHYWH"}}