html_text
HTML -> canonical text: invisible regions dropped, block structure as newlines, whitespace collapsed by a closed rule, entities decoded exactly once, optional link labels with hrefs (javascript:/data: refused and counted). The anti-hallucination tool for scraping agents. $0.001 per call: industrial volume funds the free half.
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_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | ||
| max_bytes | No | ||
| keep_links | No |