undo
Reverse the most recent edit or a specified number of edits in a pixel art document, with an option to view a render of the change.
Instructions
Undo the last edit(s).
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": {
"doc_id": "<doc_id>"
},
"name": "undo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | No | How many edits to undo (default 1) | |
| doc_id | Yes | Document id | |
| render | No | Include a render of the change (default true) |