get_downloads
Arms download capture to suppress save dialogs, record files saved by an Electron app, and list saved paths; call before downloads start and again to retrieve savePath.
Instructions
Arm download capture and list files saved by the app. Requires inspectMain. The first call installs a will-download listener that writes into directory (default: OS temp) and suppresses the save dialog. Call it before the download starts, then call again for savePath.
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": "get_downloads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Optional URL to start downloading on the app session after the listener is armed | |
| directory | No | Directory for saved files. Used when the listener is first armed. | |
| processId | No | Process ID. If omitted, uses the single running app. |