render_equation
Convert LaTeX equations to SVG or PNG images for display in documents and applications. Supports TikZ diagrams and TeX packages without local installation.
Instructions
Render a LaTeX equation to SVG or PNG via UpMath. Returns SVG markup or saves to file.
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": {
"latex": "<latex>"
},
"name": "render_equation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| latex | Yes | LaTeX equation | |
| format | No | Output format | svg |
| saveTo | No | File path to save output |