Wait for the agent's reply
wait_for_turnWait for the agent to finish responding or ask for approval, then return the latest message or request. Use after sending a message to get the assistant's reply.
Instructions
Block until the thread's current turn finishes OR the agent asks for approval/input, then return the latest assistant message or the pending request. Use after send_message or create_thread for a single round-trip. Times out (default 120s, max 300s) with the current state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| threadId | Yes | ||
| timeoutSeconds | No |