Validate Uml
validate_umlChecks diagram code for structural errors and compiles it with Kroki to confirm renderer acceptance, returning errors, suggestions, and compile timing.
Instructions
Validate a diagram by compiling it on the renderer. Runs local structure checks first, then a real Kroki compile, so valid reflects what the renderer accepts (a TikZ figure that does not compile is reported invalid). Returns errors, suggestions, compiled, and compile_ms.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| strict | No | ||
| diagram_type | Yes | ||
| output_format | No | svg |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||