Undo / redo
undoRewind or redo recent Premiere Pro edits made by tool calls, apply raw keyboard steps, or list recorded call history.
Instructions
Undo/redo whole tool calls: calls: N (default 1) rewinds Premiere's steps and the DOM edits of the last N calls; redo: true redoes them; steps: N is raw Ctrl+Z; history: true lists recorded calls. Fails with UNDO_STACK_CHANGED after manual edits.
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": "undo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| redo | No | Redo instead of undo | |
| calls | No | Undo (or with redo: true, redo) the last N tool calls | |
| steps | No | Raw Premiere undo/redo steps | |
| history | No | List the recorded calls instead of undoing |