Render SVG to PNG
render_svgRasterizes an SVG to a PNG image for visual verification. Returns the PNG inline and creates a .preview.png file next to the SVG.
Instructions
Rasterize an SVG to PNG for visual verification. Returns the PNG inline and writes a .preview.png next to the SVG.
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": {
"svg_path": "<svg_path>"
},
"name": "render_svg"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| svg_path | Yes | ||
| width | No | ||
| scale | No |