ps_closeDocument
Close a Photoshop document, optionally saving changes first: set save to true to save, otherwise edits are discarded; omit the document name to target the active document.
Instructions
Photoshop: close a document — save:true saves first, otherwise changes are discarded.
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": "ps_closeDocument"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | ||
| document | No | Document name; omit for the active document. |