explain_diagram
Trace how a PlantUML diagram is parsed line by line, receiving a JSON breakdown with source lines, human-readable explanations, and line numbers to debug or learn PlantUML 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).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | The PlantUML source to explain, including @start.../@end... (a single diagram) |