render_image
Render your SVG markup or complete HTML document into a PNG, JPEG, or WebP image file on disk for illustrations, diagrams, charts, UI mockups, and typographic cards.
Instructions
Render SVG markup or a full HTML document (authored by you) to an image file on disk. Use for illustrations, diagrams, charts, UI mockups, typographic cards. Not photorealistic.
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": {
"source": "<source>"
},
"name": "render_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | ||
| format | No | svg | |
| height | No | ||
| source | Yes | SVG markup (format=svg) or complete HTML document (format=html) | |
| filename | No | Optional filename slug | |
| output_format | No | png |