cs_agent_wait_turn
Wait for turn state changes such as revisions, permission requests, or terminal states to coordinate agent workflows.
Instructions
Wait for a turn revision, permission request, or terminal state. Use this instead of cs_agent_wait_message when state transitions matter more than reply content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| turnId | Yes | Turn id to observe. | |
| waitMs | No | Wait for at most this many milliseconds, up to 30000. | |
| afterRevision | No | Only return as changed after this previously observed revision. |