wait_for_event
Wait for new events on a phone call managed by an AI assistant, such as agent questions or progress updates. Poll with the last sequence number until the call ends.
Instructions
Wait up to timeout seconds for new events on a call (questions from the agent,
'progress' reports with stage and note, call ended). Pass the highest seq seen
so far as after. Returns an empty list if nothing happened; call again until status
is 'done' or 'failed'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | ||
| call_id | Yes | ||
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||