print_pdf
Render a page to PDF using Chrome's print pipeline, save it to results/, and return the file path and size to avoid loading PDF bytes into context.
Instructions
Render the page to PDF through Chrome's own print pipeline and save it to the task's results/ dir. Returns the path and size, not the bytes - a PDF is not something to spend context on.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | 0.1 - 2.0 | |
| tabId | No | Target tab id (defaults to the active tab) | |
| landscape | No | ||
| pageRanges | No | e.g. '1-3, 5' | |
| paperWidth | No | Inches | |
| paperHeight | No | Inches | |
| printBackground | No | Include background graphics (default true) | |
| preferCSSPageSize | No |