Render to PDF: HTML, Markdown or a web page to a print-ready PDF (Korean fonts included)
render_pdfUse when an agent must hand over a document as a PDF (report, invoice, summary, receipt). Input: GET ?url= for a public page, or POST JSON {html | markdown | url, format A4|Letter, landscape, margin_mm}. Markdown gets a clean stylesheet with Korean fonts. Output: JSON fileBase64 (decode to the PDF), bytes, page settings. Headless Chrome on Cloudflare. Bad input or daily cap refused before payment. Use instead: render_png for an image. Example: ?url=https://example.com/ Price: $0.01 per call, paid in USDC (Base, Monad, Polygon, Arbitrum or Solana) via x402.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "render_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public http(s) page to render (GET). For html/markdown use POST JSON. | |
| html | No | HTML to render (MCP argument or POST JSON; alternative to url/markdown) | |
| format | No | Page size (default A4) | |
| markdown | No | Markdown to render (MCP argument or POST JSON; alternative to url/html) | |
| landscape | No | 1 = landscape | |
| margin_mm | No | Page margin in mm (default 12) |