Save Document
ps_save_documentSave the active Photoshop document to disk in PSD, JPEG, or PNG format with adjustable JPEG quality.
Instructions
Saves the active document to disk. Supports PSD, JPEG, and PNG formats. For JPEG, quality ranges from 1 (lowest) to 12 (highest).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>",
"format": "<format>"
},
"name": "ps_save_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute file path to save to | |
| format | Yes | Output file format | |
| quality | No | JPEG quality 1-12 (only used for JPEG format) |