swarm_health
Determine whether torrents can actually finish by comparing complete copies across reachable peers to progress; exclude queued items and flag partial selections.
Instructions
Judge whether each torrent can actually finish. availability is how many complete copies exist across reachable peers; when it does not exceed progress, no peer holds the missing pieces and the download can never complete however long it waits. Queued torrents are excluded because they report availability 0 simply for not being connected yet. progress is relative to the selected files, so partial_selection marks torrents that are 100% yet never fetched their deselected files.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "swarm_health"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include_complete | No | also report torrents already at 100% |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |