render_preview
Produces a PNG view of an SVG canvas, letting users crop to object IDs or coordinate regions so they can inspect specific artwork before saving or exporting.
Instructions
Render to a PNG image you can look at (white background, longest side = max_size px).
Zoom in with region [x, y, w, h] in user units, or with ids (the area around them, everything
still visible). only_ids=true draws just those objects.
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": "render_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | ||
| area | No | page | |
| doc_id | No | ||
| region | No | ||
| max_size | No | ||
| only_ids | No |