Preview diagram SVG
preview_diagramGenerate an SVG diagram in memory and return its markup. Preview a diagram without writing to disk.
Instructions
Generate a diagram in memory and return the SVG markup (does not write to disk).
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": {
"id": "<id>"
},
"name": "preview_diagram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Diagram id to generate |