get_torrent_files
List the files inside a torrent by hash, returning each file's index, name, size, progress, and priority so you can inspect contents or select file IDs for priority changes.
Instructions
List files inside a torrent
Args: hash: Torrent hash value
Returns: Formatted list of files with index (used as id for set_file_priority), name (used as old_path for rename_torrent_file), size, progress and priority
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>"
},
"name": "get_torrent_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hash | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |