photoshop_close_document
Close an active Photoshop document, optionally saving changes or specifying a document ID to avoid unintended tab switches during automation.
Instructions
Close the active Photoshop document
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | Whether to save changes before closing | |
| 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. |