Render canvas
snipaya_renderRenders a PNG of the canvas or selected element IDs, downscaled to a maximum size, so AI assistants can see exactly what the user sees.
Instructions
Return a PNG of the canvas (or only the given element ids) so you can see what the user sees. Downscaled to maxSize on the longest side.
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": "snipaya_render"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | ||
| tabId | No | Target tab id. Defaults to the active tab. | |
| maxSize | No | ||
| beautify | No | Frame the image on a background. true uses the user’s beautify settings, an object overrides some of them, false turns it off. Omit to follow the user’s setting. |