render_tikz
Convert TikZ diagrams to SVG or PNG images without local LaTeX installation. Supports tikz, pgfplots, circuitikz, and tikz-3dplot packages for technical visualization.
Instructions
Render a TikZ diagram to SVG or PNG. Supports tikz, pgfplots, circuitikz, tikz-3dplot.
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": {
"tikz": "<tikz>"
},
"name": "render_tikz"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tikz | Yes | TikZ code including \begin{tikzpicture}...\end{tikzpicture} | |
| packages | No | Additional packages (e.g., ['circuitikz', 'pgfplots']) | |
| format | No | Output format | svg |
| saveTo | No | File path to save output |