download_control
Pause, resume, or cancel an active download by GID; cancel keeps partial files and resume continues with the same GID and data.
Instructions
Pause, resume or cancel a download by GID. Cancel retains partial files and does not delete them. Resume continues the same GID and partial data; query download_status afterward to verify the resulting state.
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": {
"gid": "<gid>",
"action": "<action>"
},
"name": "download_control"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gid | Yes | ||
| action | Yes |