Browser PDF Export
browser_pdfRender the current page to a PDF file on disk in headless mode; returns the saved path and file size. Use when PDFs are too large for inline context.
Instructions
Render the current page to a PDF file on disk (not returned inline — PDFs are too large for tool-call context). Returns the saved path and file size. Headless mode only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Force a specific mode. Defaults to extension. | |
| path | Yes | Absolute file path to save the PDF to. | |
| format | No | Paper size (default "A4"). | |
| landscape | No | Landscape orientation (default false). | |
| sessionId | No | Puppeteer session ID for headless mode. Skips mode selection. |