Undo
ae_undoUndo the last After Effects action(s), with each MCP edit counting as one step. Returns the number of steps undone and a change report across comps, or fails when nothing can be undone.
Instructions
Undo the last action(s) in After Effects, like Edit > Undo; each Surehand MCP edit call (an ae_batch included) is one undo step. Returns how many steps were undone and a change report across all comps. If After Effects undoes nothing (nothing left to undo, or a dialog open in After Effects) it fails and says so. Reverse it with ae_redo (via ae_call); to go back further, restore an ae_checkpoint.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ae_undo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | No | Number of undo steps, 1-50 (default 1). Stops early, with a note, when nothing more can be undone. |