Convert Markdown and HTML
convert_markdown_htmlConvert GitHub-flavored Markdown to HTML, or HTML to Markdown. to is html or markdown. sanitize strips scripts from the text output. The conversion does not fetch a URL.
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_markdown_html"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | html | |
| text | No | # Hello | |
| sanitize | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output | Yes | ||
| direction | Yes |