validate_page
Check a page source before build_page to block saving on duplicate/missing IDs or missing types, and surface warnings and stats.
Instructions
Validate a page source ({ sections: [...] }). Returns errors (block saving: duplicate/missing ids, missing types) and warnings (unknown types, form fields without field_name, dangling event targets) plus stats. Always run this before build_page.
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_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | Page source object or JSON string |