Save as PDF
browser_pdf_savePrint the current browser page to a PDF file with customizable paper format, orientation, scale, and background graphics.
Instructions
Print the current page to a PDF file.
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": "browser_pdf_save"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | Scale factor (default 1) | |
| format | No | Paper format, e.g. Letter, A4 | Letter |
| filename | No | Output file name (default page.pdf) | page.pdf |
| landscape | No | Landscape orientation | |
| printBackground | No | Print background graphics |