validate_diagram
Checks DGMO diagram markup for syntax errors and warnings without rendering, providing structured feedback to fix issues before generating diagrams.
Instructions
Validate DGMO markup without rendering. Returns structured parse errors and warnings. Much faster than render_diagram — use this to check syntax before rendering.
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": {
"dgmo": "<dgmo>"
},
"name": "validate_diagram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dgmo | Yes | DGMO diagram markup to validate |