Await a delegated OpenCode session
ode_awaitBlocks until a delegated session completes, then returns its final status and capped answer. Supports non-blocking status checks with timeout set to 0.
Instructions
Blocks (up to a clamped timeout) until the session started by ode_delegate finishes, then returns its final status (plus a capped answer when text is available). While still running, may include currentActivity (e.g. tool:bash … or thinking). Pass timeoutMs: 0 for a single non-blocking status check. Returns status:"running"/"starting" if the timeout elapses first — call again to keep waiting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | Session id returned by ode_delegate. | |
| timeoutMs | No | How long to wait before returning (clamped to 0-120000ms; default 30000ms). Pass 0 for a single non-blocking status check. |