Export Document
ps_exportExport active Photoshop document to PNG, JPEG, PSD, or TIFF format. Specify file path, and optionally set scale for PNG or quality for JPEG.
Instructions
Exports the active document to a file. Supports PNG (with optional scaling), JPEG (with quality), PSD, and TIFF. Provide an absolute file path.
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": {
"format": "<format>",
"path": "<path>"
},
"name": "ps_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | Output format | |
| path | Yes | Absolute file path to export to | |
| quality | No | JPEG quality 1-12 (only for JPEG) | |
| scale | No | Export scale factor, e.g. 2 for 2x (only for PNG) |