add_torrent
Adds one or more .torrent files to qBittorrent from a single path, JSON list, or structured query, returning the operation status and message.
Instructions
Add torrent files to qBittorrent
Args: query: Query string containing torrent file path, supports the following formats: 1. JSON string: "{"file_paths": ["path/to/file1.torrent", "path/to/file2.torrent"]}" 2. JSON string: "["path/to/file1.torrent", "path/to/file2.torrent"]" 3. Single file path: "path/to/file.torrent"
Returns: Status and message of the add operation
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": {
"query": "<query>"
},
"name": "add_torrent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |