qb_set_limit
Set upload and download speed limits in bytes per second for a qBittorrent instance, globally or per torrent; use 0 for unlimited.
Instructions
Set upload/download speed limits in bytes per second (0 = unlimited).
Args: instance: instance key from .instances.json. up: upload limit in bytes/s; 0 means unlimited. dl: download limit in bytes/s; 0 means unlimited. hashes: torrent hashes; empty means the global limit. mode: "normal" for the normal global limit, "alternative" for the alternative (scheduled) limit. qBittorrent keeps them separate and the active one depends on whether alternative mode is switched on.
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": {
"instance": "<instance>"
},
"name": "qb_set_limit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dl | No | ||
| up | No | ||
| mode | No | normal | |
| hashes | No | ||
| instance | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |