print_to_pdf
Generate a PDF from the current browser page, with optional tab selection, landscape orientation, and background graphics.
Instructions
Generate a PDF of the current page
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": "print_to_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | No | Tab ID (optional) | |
| landscape | No | Landscape orientation | |
| printBackground | No | Print background graphics (default true) |