wait_for_messages
Monitor a communication room and retrieve new messages received within a specified timeout period.
Instructions
Wait for messages in a room
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| roomName | Yes | Name of the communication room to monitor for new messages. The agent should be a member of this room. | |
| timeout | No | Maximum time to wait for messages in milliseconds. Defaults to 30 seconds (30000ms). After this time, the function will return with whatever messages were received. | |
| sinceTimestamp | No | Optional ISO timestamp string to only retrieve messages sent after this time. If not provided, will wait for any new messages from the current time. |