Undo
photopea_undoReverse one or more recent editing steps in the active document. Use after applying filters, adjustments, or fills to revert changes.
Instructions
Undo one or more recent actions in the active document. Each step reverses one operation from the history. Use after destructive operations (apply_filter, apply_adjustment, fill_selection) to revert changes.
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": "photopea_undo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | No | Number of history steps to undo (default 1) |