render_diagram
Transform declarative JSON diagrams into visual representations. Supports 18 diagram types like flowcharts and sequence diagrams.
Instructions
Renders a declarative JSON diagram into a visual representation. The input MUST conform to the DiagramInput schema.
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": {
"diagram": "<diagram>"
},
"name": "render_diagram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diagram | Yes |