qb_add
Add a torrent to a qBittorrent instance from a magnet link, URL, or local .torrent file, with optional category, save path, and paused review before download.
Instructions
Add a torrent from a URL, magnet link, or a local .torrent path.
Args: instance: instance key from .instances.json. source: magnet link, http(s) URL, or absolute path to a .torrent file. savepath: target directory; empty uses the instance default. category: category to assign. paused: add in paused state (default true) so it can be reviewed first. wait_seconds: how long to wait for the torrent to show up. Magnet links ingest metadata asynchronously, so the add request returning 200 does not prove anything; the torrent must appear in the list.
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>",
"source": "<source>"
},
"name": "qb_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paused | No | ||
| source | Yes | ||
| category | No | ||
| instance | Yes | ||
| savepath | No | ||
| wait_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |