Wait for anything to change
wait_for_changeLong-poll workspace threads to detect attention state changes such as finished turns, approvals, or errors, and get updated thread states when they occur.
Instructions
Long-poll the workspace until any thread changes attention state (a turn finishes, an approval appears, an error occurs) or the timeout passes. Returns the changed threads with old and new state. Lets a voice loop stay silent until something actually happens.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeoutSeconds | No | Default 60 |