wait-for-response
Block until the latest AI chat reply finishes generating, then return its text and media URLs, including images, video, audio, and files.
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. Respects the server poll interval/timeout. 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. |