markdown_pdf
Markdown to PDF ($0.005 per call, paid via MPP on Tempo). Render Markdown (headings, paragraphs, bold, bullet/numbered lists, code blocks, tables, rules) to a clean A4/Letter PDF. Body: JSON {markdown, title?, page_size?: "A4"|"Letter"} or raw text/markdown. Returns application/pdf (or base64 JSON with format=json). Max 300 KB of Markdown. HTTP POST https://mpp-docs.fmf-x402.workers.dev/mpp/markdown/pdf. This MCP wrapper does not settle payment by itself; call with an MPP Payment Authorization header, or use mppx against the HTTP route.
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_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| format | No | ||
| markdown | Yes | ||
| page_size | No |