Render PDF
render_pdfRender a public web page or an inline HTML snippet to a paginated PDF document, using a real headless browser (JS, CSS, and web fonts execute). Use this to turn a URL or HTML into a downloadable/printable PDF, e.g. an invoice, report, or saved article.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public http(s) URL to render (exactly one of url/html) | |
| html | No | Raw HTML to render (exactly one of url/html, max 1MB) | |
| width | No | Viewport width in pixels, 320-1920 (default 1280) | |
| height | No | Viewport height in pixels, 240-1080 (default 800) |