html_to_markdown
Converts HTML into clean Markdown or plain text, keeping formatting or stripping it entirely, for use in docs, notes, or AI workflows. Accepts up to 50 KB per call.
Instructions
Convert HTML to clean Markdown or plain text. Same engine as the Clean Copy browser extension. Max 50 KB of HTML per call.
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 HTML to convert. | |
| mode | No | markdown (default) keeps formatting; plain strips it all. |