Undo a photo change
photo_undoTake back your last call on the photo (action "undo"), or bring back the one undone last ("redo"). Nothing is lost: canvas_undo {action: "history"} lists every version and "restore" goes back to any of them.
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": "photo_undo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | ||
| canvas | No | ||
| expected_revision | No |