browser_pdf
Export the current webpage to a Base64-encoded PDF. Adjust paper format, landscape orientation, and scale to meet printing needs.
Instructions
将当前页面导出为 PDF(返回 Base64 编码的 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 |
|---|---|---|---|
| scale | No | 缩放比例,默认 1 | |
| format | No | 纸张大小,默认 'A4' | A4 |
| landscape | No | 横向打印,默认 false |