Get Preview
photopea_get_previewReturns a downscaled PNG snapshot of the active document without modifying it, so you can visually check layout, colors, and text before exporting.
Instructions
See the active document: returns a PNG snapshot, downscaled to maxSize, so you can check layout, colors and text visually. The document is not modified. Call it after visual changes, before exporting.
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": "photopea_get_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxSize | No | Longest side of the preview in pixels; smaller documents are not upscaled |