Check HTML
check_htmlValidate HTML pages or fragments for kit errors by detecting unknown cmu- classes, invalid data-cmu- hooks, missing files, and incorrect body class or load order.
Instructions
Checks a page or a fragment for kit mistakes: cmu- classes or data-cmu- hooks the kit doesn't have and, for a whole page, missing files, the cmu-app body class and the loading order.
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": {
"html": "<html>"
},
"name": "check_html"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | The HTML to check: a whole page or a fragment. | |
| version | No | A kit release, like "0.4.0". Defaults to the latest. |