wait_for
Polls a download package with a bounded timeout. Returns finished, failed, still running, or not found, so you can re-check until completion.
Instructions
Bounded poll of one download package (cap 120s). Returns finished/failed/ still_running/not_found — re-call on still_running.
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": {
"package_id": "<package_id>"
},
"name": "wait_for"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout_s | No | ||
| package_id | Yes |