tnd_wait_job
Polls a download job until it completes, fails, or is cancelled and returns the final task status; use it to track an existing job by ID and get its outcome.
Instructions
轮询下载任务直到完成、失败或取消;返回最终任务状态。
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": {
"job_id": "<job_id>"
},
"name": "tnd_wait_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | 下载任务 ID | |
| timeout_seconds | No |