photoshop_get_preview
Export the active document as a base64 JPEG preview for visual verification after edits, confirming results before reporting success.
Instructions
Export the active document as a base64 JPEG preview for visual verification.
Use when: after visual edits to confirm result before reporting success to the user. Do NOT use when: you only need numeric state — use photoshop_get_state (much cheaper).
Returns: MCP image content block (JPEG) plus metadata text. Preconditions: active document required. Side effects: creates and deletes a temp file; does not modify the document.
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": "photoshop_get_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quality | No | JPEG quality 1–12 (default 8) | |
| 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. | |
| max_dimension_px | No | Maximum long edge in pixels (default 1024) |