track_interaction
Records user interactions with torrents (magnet clicks, downloads, or hash copies) to maintain accurate popularity statistics for the TorrentClaw-MCP server.
Instructions
Track a user interaction with a torrent (magnet link click, .torrent download, or hash copy). Use this after presenting a magnet link or torrent URL to the user, to keep popularity stats accurate. Fire-and-forget — does not block.
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": {
"info_hash": "<info_hash>",
"action": "<action>"
},
"name": "track_interaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| info_hash | Yes | 40-character hex torrent info_hash | |
| action | Yes | Type of interaction: 'magnet' (clicked magnet link), 'torrent_download' (downloaded .torrent file), 'copy' (copied info hash or magnet) |