download_submit
Submit HTTP(S) files for background disk downloads via local aria2c; get a GID to check status or wait for completion instead of blocking.
Instructions
Download an HTTP(S) file to disk in the background via local aria2c; returns a GID, not proof of completion. Call download_wait for short/medium files, or check download_status later or run node "/app/server.mjs" --wait <gid> in a background shell before reporting success or consuming the file. Defaults to the OS system proxy and Downloads; use direct or an explicit HTTP proxy when requested. Keep global and system proxy settings unchanged, report a proxy failure instead of silently switching to direct, and keep URLs and proxy credentials out of chat. Existing files stay untouched. For webpage reading, API calls, Git or package managers, use the dedicated tool. If a requested download feature is unsupported, explain the limitation before choosing another method.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "download_submit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| proxy | No | system (default), direct, or explicit http://host:port. PAC is unsupported. | |
| filename | No | ||
| directory | No |