validate_html
Validate restricted HTML against a contract and return a JSON report with errors, warnings, and fix suggestions.
Instructions
校验受限 HTML 是否符合契约;返回 errors/warnings/fixes 的 JSON 报告。
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": "validate_html"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | ||
| lossy_fixes | No | apply | |
| font_strategy | No | auto |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |