Check a form
validate_uiCheck a form without creating a handoff and without contacting the person. A HUI 0.1 document returns { ok, hui, diagnostics, fields }. HUI 1.0 markdown returns { ok, outcome, hui, registry, blocks, diagnostics } where outcome is valid, violating, or unknown. ok false is a successful tool call so you can correct the document. Interactive blocks are zero tolerance: one error rejects the document.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ui | No | HUI 0.1 document. You can also pass the document fields at the top level. | |
| labs | No | Ignored by validate_ui. Pass it to list_blocks to include labs. names. | |
| lenient | No | When true, unknown properties are warnings instead of errors. | |
| markdown | No | HUI 1.0 markdown. Fences and ih:// links are registry blocks. |