photoshop_undo
Undo one or more recent Photoshop operations, optionally specifying a document ID to ensure the correct file is affected.
Instructions
Undo the last operation(s) - equivalent to Ctrl/Cmd+Z
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": "photoshop_undo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | No | Number of steps to undo (default: 1) | |
| document_id | No | Optional Photoshop document id from photoshop_get_state / photoshop_list_documents. When set, the tool activates that document before running so a UI tab switch cannot retarget the edit. |