Undo
undoReverts timeline edits such as razor cuts, trims, moves, and deletions in the active Premiere Pro project, with an optional count to roll back one or more changes.
Instructions
Send Edit > Undo to the active project, once or count times. It reverts timeline edits such as razor cuts, trims, moves and deletions, whether made by tools or by hand. Some scripted changes (for example creating a bin or a marker) are not recorded in Premiere's undo history and are not reverted. Premiere accepts the command even when nothing is left to undo, so read the state back afterwards. Returns steps (undo commands Premiere accepted) and requested. Use redo to reapply.
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 |
|---|---|---|---|
| count | No | How many steps to undo, 1-20. Default 1. |