oc_wait
Waits for or checks the status of a dispatched task by runId, up to timeout_seconds, and returns the reply, voice metadata, or current run state.
Instructions
按 runId 继续等待或查询已下发的任务,最多 timeout_seconds(0=只查状态不等待,默认 0)。刚下发还没结果、或用户问“怎么样了”时用。done 时返回本轮 reply 与 voice 元数据,按 voice.speak 播报或做 1–3 句总结;running 表示还在跑,只播报状态和已用时间,不要翻历史、不要猜进度,可以再调本工具;aborted/error 看 stopReason 和 error,并说清结果与下一步。任务已经结束后再调仍然能取到本轮回复。replyUnavailable=true 只是没读到回复,可改用 oc_last 查看。任何时候都不要因为本工具重复下发任务。
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": {
"runId": "<runId>"
},
"name": "oc_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | Yes | 任务 runId(来自 oc_run 或 oc_wait 的返回)。 | |
| timeout_seconds | No | 等待秒数,0 表示立即返回。 |