validate_uml
Validate diagram type, format, code length, and syntax locally to catch problems before rendering. Returns errors and suggestions.
Instructions
Validate diagram type, format, code length, and basic syntax locally before render (no Kroki call). Returns errors and suggestions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Diagram source text. | |
| strict | No | When True, apply extra Mermaid/D2 checks (no extra PlantUML rules). | |
| diagram_type | Yes | Same as generate_uml (see uml://types). | |
| output_format | No | Intended output format (default svg); must be allowed for the type. | svg |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||