Markdown ⇄ HTML
markdown_convertConvert Markdown to clean HTML (GitHub-flavoured: tables, task lists, fenced code) or HTML back to Markdown. marked for md→html, Turndown for html→md. Scripts/styles are dropped on html→md. Price: free. Errors: returns isError with a message for invalid input or an upstream failure (not charged).
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": {
"input": "<input>"
},
"name": "markdown_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Target format. One of "html", "markdown". Default "html". | html |
| input | Yes | Markdown or HTML to convert. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| output | No |