html_to_markdown_tool
Convert HTML to Markdown. Removes script, style, meta, and link tags; supports custom heading styles.
Instructions
Converts HTML content to Markdown format.
Args: html: HTML content to convert strip_tags: List of tags to strip (default: ['script', 'style', 'meta', 'link']) heading_style: Style for headings - "ATX" or "SETEXT" (default: "ATX")
Returns: Dictionary with converted markdown 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_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | ||
| strip_tags | No | ||
| heading_style | No | ATX |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||