HTML to Markdown
html_to_markdownConverts HTML you already have into clean Markdown of the main content without fetching anything. Resolves relative links via base_url and can include links or images.
Instructions
Convert HTML you already have into clean Markdown of its main content. Nothing is 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": "html_to_markdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | The page's HTML | |
| base_url | No | URL the HTML came from, used to resolve relative links | |
| max_chars | No | ||
| include_links | No | ||
| include_images | No |