photoshop_undo
Undo one or more recent edits in Photoshop by setting the number of steps to revert, restoring the document to a previous state.
Instructions
Undo the last operation(s) - equivalent to Ctrl/Cmd+Z
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. |