markdown_to_pdf
Converts Markdown text (headings, GFM tables, fenced code blocks, lists, UTF-8) into a styled print-ready PDF with themes and page numbers.
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": {
"markdown": "<markdown>"
},
"name": "markdown_to_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| theme | No | Visual document theme (default executive). | |
| title | No | Optional document header title. | |
| author | No | Optional author label. | |
| format | No | Page size (default A4). | |
| markdown | Yes | Markdown document content to convert into PDF. | |
| subtitle | No | Optional subtitle displayed under the header. | |
| pageNumbers | No | Show Page X / Y footer (default true). |