download
Check status of pending file transfers or list session's fetched files. Wait for large transfers to complete, or poll history without waiting.
Instructions
Check status of file downloads or list all downloaded files in this session. Downloads happen automatically when you click download links or navigate to files (PDFs, CSVs, etc.) — you do NOT need to call this tool to trigger downloads. Use this tool to:
Wait for a large download to finish: download()
List all downloaded files, without waiting: download({ action: "list" })
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | status: check/wait for pending downloads (waits briefly for one to start, then until it finishes). list: full session history, returns immediately and never waits — use it for polling loops. | status |
| settle | No | Grace window in ms to wait for a download to START before reporting 'no downloads' (default: 250). Chrome fires downloadWillBegin a few ms after the click that triggers it. Set 0 for an instant check, or use action: 'list' which never waits. | |
| timeout | No | Max wait time in ms for pending downloads (default: 30000) |