markdown_to_pdf
Convert Markdown files to PDF with customizable margins, font size, and page size. Handles Unicode and CJK characters for accurate rendering.
Instructions
Convert Markdown file to PDF format.
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_path": "<markdown_path>"
},
"name": "markdown_to_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| margin | No | 1cm | |
| font_size | No | ||
| page_size | No | A4 | |
| output_path | No | ||
| markdown_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |