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. Example: ?url=https://example.com/ Price: $0.01 USDC (Base or Solana) via x402.
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) |