browser_download
Triggers a file download by clicking an export button or attachment link and saves it to the output directory; set a custom filename if needed.
Instructions
点击触发下载并把文件保存到输出目录(如导出按钮、附件链接)
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_download"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | 触发下载的元素编号 | |
| filename | No | 保存的文件名,默认用服务器建议的文件名 | |
| selector | No | CSS 选择器(与 ref 二选一) |