render_preview
Render the canvas as a PNG image at its authored size to visually check the layout and iterate before finalizing.
Instructions
Render the canvas to a PNG at its authored size and return the image, so you can visually check the layout and iterate. This is your feedback loop: place → render_preview → adjust → set_canvas → render_preview again. For a machine-readable check (values, overflow, colours), use render_report().
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": {
"page_id": "<page_id>"
},
"name": "render_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes |