browser_pdf
Save the current web page as a PDF file. Choose page format (A4, Letter, Legal) and whether to include background graphics.
Instructions
Save the current page as a PDF file.
Args: page_id: Target page ID. format: Page format — 'A4', 'Letter', 'Legal'. print_background: Include background graphics.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"page_id": "<page_id>"
},
"name": "browser_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | ||
| format | No | A4 | |
| print_background | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||