Sanitize HTML
html_sanitizeStrip scripts and unsafe markup. Keeps a short allow-list of tags.
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": "html_sanitize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | The HTML to clean. Scripts and unsafe markup are removed, and a short list of safe tags is kept. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| tool | Yes | ||
| result | Yes |