Convert HTML to Markdown
convert_html_to_markdownConvert a web page (by URL) or a raw HTML string to Markdown, optionally keeping only the main content without navigation and footer.
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": "convert_html_to_markdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | URL to fetch and convert (optional if html provided) | |
| html | No | Raw HTML to convert (optional if url provided) | |
| extractContent | No | Extract main content only, removing nav/footer/etc. |