poll_task
Poll a task periodically until it completes, fails, or cancels. Use only when the user explicitly requests waiting for a result.
Instructions
轮询任务直到获得最终结果(仅用户明确要求时使用)
每 20 秒查询一次任务状态,直到任务进入 completed / failed / cancelled 状态。 默认不设置超时;传入 timeout_seconds 可限制最大轮询时长。
⚠️ 重要:Agent 禁止主动调用此工具。ONLY use this tool when the user explicitly asks to wait for or poll a task result (e.g. "帮我等结果"、"轮询一下任务"). 如果用户没有明确表达等待意图,应询问用户而不是直接轮询。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | ||
| timeout_seconds | No | ||
| server | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |