browser_print_to_pdf
Print the current web page to a PDF file and save it to a specified path. Optionally set landscape orientation.
Instructions
Print the current page to a PDF file.
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": {
"save_path": "<save_path>"
},
"name": "browser_print_to_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| landscape | No | ||
| save_path | Yes | File path to save PDF | page.pdf |