html_to_llm_markdown
Deterministically convert user-supplied HTML into clean LLM-ready Markdown, removing script/style/nav boilerplate while extracting heading outline, tables, links, and token estimates.
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_llm_markdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | Raw HTML document or fragment supplied by caller. | |
| base_url | No | Optional base HTTP(S) URL for resolving relative links. | |
| strip_nav | No | Remove <nav>, <header>, <footer>, <aside> boilerplate. | |
| include_links | No | Preserve hyperlinks as Markdown [text](url). |