download
Wait for a pending file to finish saving or list files already saved this session. Use status to block until complete, or list to poll history without waiting.
Instructions
Wait for pending downloads or list this session's downloaded files. Downloads start by themselves when you click a download link or open a file URL (PDF, CSV, …); this tool never triggers them. download() waits for a pending download to finish; download({ action: 'list' }) returns at once.
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": "download"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | status waits for pending downloads; list: history, never waits (use for polling) | status |
| settle | No | Ms to wait for a download to START before reporting none — Chrome fires downloadWillBegin a few ms after the click; 0 = instant | |
| timeout | No | Max wait in ms for pending downloads |