wait-for-response
Blocks until the assistant message finishes generating, then returns its text and media URLs. Use after sending a message to retrieve complete chat output.
Instructions
Block until the latest assistant message in a chat finishes generating, then return its text and media URLs. Resolves when every message_object[i].completed === true — including image / video / audio / file-only replies. Text-scope chats open an SSE connection on sse.syntx.ai and fall back to REST polling on transport failure. Use after send-message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | ||
| timeout | No | Override max wait time in milliseconds. | |
| poll_interval | No | Override poll interval in milliseconds. |