delete_torrents
Remove torrents from the qBittorrent queue by hash, with optional downloaded-file deletion and a required confirmation step because the action cannot be undone.
Instructions
Remove torrents. delete_files is never implied: without it the data stays on disk. Requires confirm=True because it cannot be undone.
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": {
"hashes": "<hashes>"
},
"name": "delete_torrents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hashes | Yes | torrent hashes to remove. The single value "all" targets EVERY torrent in the queue — pass explicit hashes unless wiping the whole queue is genuinely what was asked. | |
| confirm | No | must be true to proceed | |
| delete_files | No | also delete the downloaded data |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |