browser_wait_download
Waits for a tab-triggered download to finish and returns its file path, size, and MIME type, so agents can verify completed downloads.
Instructions
Waits for a download started in the tab (link click...) to finish and returns its path, size (bytes) and type (mime). Candidates: downloads started since the agent's last action on the tab (or since_ms, a timestamp in milliseconds), coming from the tab's origin. A file Chrome flags as dangerous is never accepted by the agent: explicit error. timeout_ms: at most 115000.
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": {
"tab_id": "<tab_id>"
},
"name": "browser_wait_download"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab_id | Yes | Your tab's id (from browser_new_tab, or a tab adopted with browser_adopt_tab). | |
| since_ms | No | ||
| timeout_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| status | Yes | ||
| warning | No | Emergency stop hotkey not held, or similar notice | |
| untrusted_note | No | Page text that looks like instructions aimed at an AI |