Render PDF
render_pdfRender a PDF from exactly one source: html, markdown, url, template (+data) or template_id (+data). Returns the PDF as a base64 embedded resource. Each successful call uses one render from the account's monthly quota; nothing is stored. Over quota or invalid input returns a tool error explaining why.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| css | No | Extra CSS to apply. | |
| url | No | Public http(s) URL to capture. | |
| data | No | JSON data for template or template_id. | |
| html | No | HTML document or fragment to render. | |
| options | No | ||
| markdown | No | Markdown to render. | |
| template | No | Inline Handlebars HTML template, filled with `data`. | |
| template_id | No | ID of a saved template (from list_templates), filled with `data`. |