html sanitize
html_sanitizeMake untrusted HTML safe to display: an allow-list sanitiser removes scripts, styles, iframes, forms, event handlers and javascript: URLs, keeps formatting, links (rel=nofollow noopener) and optionally images. Costs $0.002 USDC per call (x402).
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": "html_sanitize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | ||
| images | No |