Validate HTML
validate_htmlValidate supplied HTML markup or a single authorized public webpage URL with the Nu HTML Checker. Provide html for markup, or url for a live page. A standalone HTTP(S) URL in html is also fetched rather than treated as HTML. For combined SEO and JSON-LD checks on a live page, use audit_public_webpage.
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_html"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public webpage to fetch and validate as HTML; omit when providing html. | |
| html | No | Raw HTML markup or one standalone HTTP(S) webpage URL; omit when providing url. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| messages | Yes | ||
| overview | Yes | ||
| truncated | Yes | ||
| fetched_url | No | ||
| total_messages | Yes |