Wait for reply
wait_for_replyPolls a reply URL until a bot's answer arrives or the timeout ends, blocking briefly so an MCP client can pull the bot's response back into the chat instead of returning empty.
Instructions
Poll until a new reply arrives or the timeout hits. Default timeout is 120000 ms. Maximum is 180000 ms. Text already on a reply URL when the wait starts is ignored, so a stale file is not treated as a fresh answer; call get_replies to read it. Set includeExisting true to accept that current text. The bot cannot push into the chat while this tool is not running.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bot | No | Bot id. Omit to watch the default channels. | |
| since | No | Ignore replies earlier than this ISO-8601 time. | |
| threadId | No | Thread returned by send_message. | |
| timeoutMs | No | How long to wait in milliseconds. Default 120000. Maximum 180000. | |
| ignoreExisting | No | When true, only replies that arrive after this call starts are returned. | |
| pollIntervalMs | No | How often to poll in milliseconds. Default 2000. Minimum 200. Maximum 30000. | |
| includeExisting | No | When true, reply-URL content that is already present counts as the reply. |