html_to_markdown
Convert raw HTML into clean Markdown containing only the main content, without fetching anything. Honors noai directives by returning no content when present.
Instructions
Turn HTML you already have into clean Markdown (main content only). A noai directive in the HTML is
honoured: the result then has no content.
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 you already have (up to 5 MB). Nothing is fetched. | |
| base_url | No | Page URL, to resolve relative links and images. | |
| max_chars | No | Cut the Markdown to this many characters. | |
| include_links | No | Keep links and return the list of links. | |
| include_images | No | Keep images as . | |
| include_tables | No | Keep tables as Markdown tables. |