safari_save_pdf
Save the current Safari page as a PDF file at a specified absolute path. Renders the page without interacting with the Safari UI, so it works while the agent drives the browser.
Instructions
Save the current page as a PDF file. Uses screencapture + PDF rendering (no Safari UI interaction needed).
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": {
"path": "<path>"
},
"name": "safari_save_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute file path to save the PDF (e.g. /Users/am/Downloads/page.pdf) |