web_download_pdf
Saves the current Chrome page or specified tab as a PDF and returns its file path, letting you choose a file or folder destination.
Instructions
Save the current page as a PDF and return the file path. Optional 'path' (a file or a folder); defaults to ~/Downloads named after the page title.
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": "web_download_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| target_id | No | Tab id from web_tabs. Omit to use the first/active tab. |