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. How to read and fix those diagnostics is in https://invokehumantool.com/skills/invoke-human/references/language.md.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "validate_ui"
}
}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. |