paint_snapshot
Capture rendered canvas, layer, selection, or mask pixels with a persistent ID/hash, then compare against a previous crop to report actual pixel changes.
Instructions
Return actual rendered canvas/layer/selection/mask pixels and persistent ID/hash. Matching prior crop reports pixel changes, never beauty. Preview max_side 64..8192; upscale=true enlarges small crops by an integer nearest-neighbour factor up to max_side (a note says when max_side is too small). path saves the preview (overwrite=true replaces an existing file). Use document export for full resolution.
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": "paint_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| label | No | Snapshot | |
| region | No | ||
| source | No | composite | |
| upscale | No | ||
| layer_id | No | ||
| max_side | No | ||
| use_view | No | ||
| overwrite | No | ||
| rectangle | No | ||
| compare_to | No | ||
| document_id | No | Target this document instead of the shared active one (recommended when several agents share the server) | |
| transparent | No |