Short-poll a worker turn for CLI clients
agent_pollPolls a worker to check if it has settled within a configurable timeout, returning a brief conclusion when done.
Instructions
CLI 友好的短轮询:最多等 30-120 秒查看 worker 是否 settled,避免一次 agent_wait_for_stop 长等 5400s 导致命令行无进度。默认 timeoutSec=60、intervalSec=5; 若 settled 且 readOnSettled 未设 false,会自动附带 brief 结论。agent_start 后推荐优先循环调用它。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tid | Yes | ||
| stepTail | No | settled 后 brief 返回最近多少步,默认 5 | |
| timeoutSec | No | 默认 60 秒;CLI 建议 30-120 | |
| intervalSec | No | 默认 5 秒 | |
| contentChars | No | settled 后 brief content 上限,默认 2000 | |
| readOnSettled | No | 默认 true;settled 后自动带 agent_read_brief 结果 |