rename_torrent_folder
Rename a folder inside a torrent by providing the torrent hash plus old and new relative paths, keeping the same parent directory. Correct folder names in qBittorrent without changing torrent structure.
Instructions
Rename a folder inside a torrent (requires qBittorrent v4.4.0 or later)
Args: hash: Torrent hash value old_path: Current folder path inside the torrent (relative to the torrent root) new_path: New folder path inside the torrent (relative to the torrent root, keep the same parent directory)
Returns: Result message of renaming the folder
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": {
"hash": "<hash>",
"old_path": "<old_path>",
"new_path": "<new_path>"
},
"name": "rename_torrent_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hash | Yes | ||
| new_path | Yes | ||
| old_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |