get_downloads
Arm download capture before starting an app download, then retrieve the saved file paths afterward. Suppresses the save dialog and stores files in a chosen directory or OS temp.
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. |