browser_pdf
Saves the current page as a PDF for report archiving or evidence capture; available in headless mode.
Instructions
把当前页面保存为 PDF(用于报告存档、留证)。注意:仅在无头模式可用
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": "browser_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | 纸张大小,默认 A4 | |
| filename | No | 文件名,默认 page-时间戳.pdf |