html_to_markdown
Convert a web page (by URL) or raw HTML into clean, LLM-ready Markdown. Readability article extraction; nav/scripts/footers stripped; tables preserved. Set render=true to execute the page in a real headless browser first — required for JS-rendered SPAs (React/Next/Vue) that return empty HTML to a plain fetch. Paid tool: $0.005 per call via x402 (USDC on Base).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "html_to_markdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public http(s) URL of the page to fetch and convert | |
| html | No | Raw HTML to convert instead of fetching a URL | |
| mode | No | article (default): main content only via Readability. full: whole page. | |
| render | No | true: execute the page in a headless browser before converting (JS-rendered SPAs) |