clean_context
[$0.015 USDC] High-density HTML-to-Markdown distiller that removes scripts, styles, ads, and navigation noise while preserving pipe tables, links, and token compression metrics.
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": "clean_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | Raw HTML document to distill | |
| max_chars | No | Maximum output characters |