browser_handle_download
Intercept and save file downloads triggered by clicking an element. Use a selector or snapshot ID to specify the button or link, and optionally set a custom filename.
Instructions
Clicks an element and intercepts the resulting file download event, saving the file to the workspace.
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": {
"target": "<target>"
},
"name": "browser_handle_download"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Selector or element reference (snapshot ID) of the button/link that triggers the download when clicked. | |
| filename | No | Optional custom filename to save the file as. If omitted, uses the name suggested by the server. |