html.to-markdown
Convert raw HTML into clean markdown. Strips scripts, nav, ads, and extracts main content while preserving headings, links, and lists.
Instructions
Convert raw HTML you already have into clean reading markdown (no URL fetch). POST { html }. Strips scripts/nav/ads, extracts main content, preserves headings/links/lists. For fetching a live URL use url.clean instead.
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.to-markdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | Raw HTML (<=2MB). |