md_convert
GitHub-flavoured Markdown (tables, strikethrough, autolinks) to HTML, PDF or DOCX. Raw HTML in the source is escaped, never executed; PDF render loads no network beyond the same public-host guard as html-pdf. Cost €0.002 per document, charged to the API key in Authorization: Bearer. Parameters — markdown: source text; url: url to a .md/.txt file (alternative); to: html (default) | pdf | docx; format: A4 (default) | A3 | A5 | Letter | Legal (to=pdf); margin: e.g. 15mm (to=pdf).
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": "md_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| url | No | ||
| format | No | ||
| margin | No | ||
| markdown | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |