ps_saveDocument
Save a Photoshop document in place or export a copy as PSD, PNG, JPG, TIF, PDF, or WebP to a specified path, then optionally close it.
Instructions
Photoshop: save the document — in place (Ctrl+S) or as psd|psb|png|jpg|tif|pdf|webp to path (asCopy default true for non-PSD), jpg quality 0-12, then optionally close.
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_saveDocument"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| close | No | ||
| asCopy | No | ||
| format | No | ||
| quality | No | ||
| document | No | Document name; omit for the active document. |