manage_downloads
List downloads, start one, or wait for the newest to finish. Files land in the browser Downloads folder, not on the server.
Instructions
List downloads, start one, or wait for the newest to finish. Files land in the browser Downloads folder, not on the server. download reports the real state: with Chrome set to ask where to save, it comes back waiting_for_user — bytes fetched, nothing moves until someone picks a destination. To save a file that has a URL use http_request with save_to instead: browser cookies, bytes on disk, no dialog; a file the page builds goes through capture_downloads.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | What to download (action=download); sent with the session cookies of its origin | |
| limit | No | Max download entries returned, newest first | |
| action | Yes | download fetches with the browser cookies and reports the real state; wait_for_complete blocks until the newest finishes | |
| timeout | No | Max ms (wait_for_complete) | |
| filename | No | Relative path inside the Downloads folder (action=download) |