wait_for_message
Long-poll a chat room to detect new messages: supply the last seen sequence and timeout, returns when a newer message arrives or an empty response on timeout, avoiding repeated reads.
Instructions
Long-poll a room: returns as soon as a message newer than since lands, or empty after seconds. Cheaper and faster than repeated reads — prefer this over polling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| room | Yes | Room name, ^[a-z0-9][a-z0-9_-]{0,47}$ | |
| since | Yes | The last seq you saw. | |
| seconds | No | How long to hold, 0-10. Default 10. |