opencode_wait
Wait for a session turn to complete by observing /message and /active endpoints, ensuring you can synchronize actions after the turn finishes.
Instructions
Wait for a session turn to complete by observing /message + /active.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | No | Project directory to target. Optional; defaults to the server default project. | |
| messageId | No | ||
| sessionId | Yes | ||
| pollIntervalMs | No | ||
| timeoutSeconds | No |