render document
render_documentRender Markdown (tables, code, lists, headings) into a styled PDF (custom CSS, A4/Letter/Legal, page numbers), a Word DOCX or standalone HTML; returns a private download link valid for 24 hours. External resources are never fetched (inline data: images only). Paid ($0.001, x402).
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": "render_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| css | No | Extra CSS (pdf/html) | |
| title | No | Document title | |
| format | No | Output format (see allowed values) | |
| filename | No | File name for the download (extension added automatically) | |
| markdown | Yes | Markdown source of the document (tables, lists, code, headings) | |
| page_size | No | Paper size for PDF output |