Save page as PDF
pdf_savePrints a browser tab to a PDF file and returns the saved path, with options for paper size, scale, orientation, and backgrounds.
Instructions
Prints the page to a PDF file and returns its path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paper | No | Paper size (default A4). | |
| scale | No | Scale factor 0.1-2 (default 1). | |
| tabId | No | Tab to act on. Defaults to the session target tab (see tab_select). | |
| savePath | No | Absolute file path to save to. Defaults to a file in the kyte-webmcp output folder. | |
| landscape | No | Landscape orientation (default false). | |
| printBackground | No | Print background graphics (default true). |