dsh_team_wait
Waits synchronously for team events like task completion, blockers, errors, authorization needs, or integration readiness while buffering routine messages; omit timeout for normal 25-minute waits.
Instructions
Quiet synchronous event wait. Normal waiting MUST omit timeoutMs: default 25 min (1500000 ms). Never routinely pass 60000; short explicit waits only for diagnostics, nonblocking checks or user request. Results distinguish requested_timeout_ms (null=omitted), effective_timeout_ms and recommended_next_wait_ms. Max 1 h; managed timeout 3900 s. Task completion, key blockers/errors/authorization and integration readiness wake early; routine messages only buffer. No MCP progress chatter or model calls. If a wrapper yields, resume that wait with its longest blocking interval, without narration. Timeout with no necessary action: immediately wait again using after=nextCursor and afterWake=nextWakeCursor. First-round readiness hands integration to Codex. Cancellation releases only the wait; timeoutMs=0 pages events, wakeEvents bypass filters/limit.
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": {
"teamId": "<teamId>"
},
"name": "dsh_team_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | ||
| kinds | No | ||
| limit | No | ||
| teamId | Yes | ||
| waitId | No | ||
| afterWake | No | Explicit acknowledgement of prior nextWakeCursor; keep after=nextCursor for lossless routine-event paging. | |
| timeoutMs | No | Omit for normal waiting: default 1500000 ms (25 min). Explicit short waits only for diagnostics, nonblocking checks or user request; never routine polling. | |
| cancelWaitId | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No |