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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "pdf_save"
}
}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). |