Undo the last edit
undo_editUse this when the user wants the last change to a clip or photo taken back: "undo that", "I liked it better before". Restores the version saved before the last edit; calling again steps further back (the last 20 saves are kept for 7 days). Not for: deleting a clip (done in RipClip). Costs no Horizon Units. Returns job_id; job_status waits for it.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"clip_id": "<clip_id>"
},
"name": "undo_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clip_id | Yes | Clip or photo id from list_clips. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next | Yes | ||
| notes | Yes | ||
| job_id | Yes | ||
| status | Yes | ||
| changed | Yes | ||
| clip_id | Yes | ||
| editor_url | Yes | ||
| estimated_hu | No | ||
| voiceover_job_id | No |