undo
Rolls back the most recent edit in the editor and returns the resulting rollback/redo state to confirm whether the action succeeded.
Instructions
Undo the last edit in the editor. Returns whether anything was undone plus the resulting { canUndo, canRedo } state. Use this to roll back a change you just made. When NOT to use: to switch scenes (use load_scene).
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 |
|---|---|---|---|
No arguments | |||