nucleo-doc-validate
Validate a Nucleo document before saving to catch schema errors and see a quality report, including layout-level issues like duplicate H1s in headers or footers.
Instructions
Validates a document without saving it: schema errors and, if the document is valid, a quality report. A page or post is checked inside the site layouts it will receive (header, footer, single/product layout of postType), as doc-create does: a duplicate h1 in the header counts.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"document": "<document>"
},
"name": "nucleo-doc-validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document | Yes | Complete Nucleo document (schema, root). | |
| postType | No | Post type the new content will have (default page). A content without postId is checked inside the layouts of that type, as doc-create and site-import do: post gets the single layout, product the product layout. |