save_pdf
Save the current web page as a PDF file using Chrome DevTools Protocol. Specify filename and landscape orientation.
Instructions
Save current page as PDF via CDP Page.printToPDF.
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": "save_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No | ||
| landscape | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |