download_torrent
Download a .torrent file for a given torrent ID from the M-Team tracker, obtaining a temporary token and saving the file locally.
Instructions
Download a .torrent file for the given torrent ID.
This tool first obtains a temporary download token from the M-Team API, then downloads the .torrent file and saves it to the configured download directory (default: ./seed/).
Args: torrent_id: The numeric torrent ID (e.g. "1125330").
Returns: The absolute path to the saved .torrent file on success, or an error message on failure.
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": {
"torrent_id": "<torrent_id>"
},
"name": "download_torrent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| torrent_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |