export_document
Convert Markdown content to PDF or DOCX format for document sharing and distribution.
Instructions
Export markdown text into PDF or DOCX
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": {
"content": "<content>",
"format": "<format>"
},
"name": "export_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Markdown source content | |
| source_path | No | Source markdown path for relative images | |
| format | Yes | Export format | |
| return_content | No | Return file bytes as base64 |