clean_html
Strips and normalizes raw HTML to produce clean, LLM-ready text, with optional extraction of hashtags and mentions, reducing token usage for AI agents.
Instructions
Clean raw HTML that your agent, crawler, or browser session already fetched.
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_html"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | Raw HTML to strip and normalize. | |
| extractHashtags | No | ||
| extractMentions | No |