explain_diagram
Explains how a single PlantUML diagram is parsed line by line, returning source, human-readable explanation, and line number so you can understand diagram syntax.
Instructions
Explains how a single PlantUML diagram is parsed, line by line. Returns a JSON array of objects, each containing: 'input' (the source line(s) that produced the explanation), 'explain' (a human-readable explanation), and 'line' (1-based line number, when available).
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": {
"source": "<source>"
},
"name": "explain_diagram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | The PlantUML source to explain, including @start.../@end... (a single diagram) |