print_pdf
Render a web page to a PDF file using Chrome's print pipeline, save it to the results directory, and return the file path and size.
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 | Tab id (default: 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 |