bus_wait_message
Wait for an incoming message on the bus, blocking until one arrives or the timeout expires. Eliminates polling while enabling async communication between agents.
Instructions
Long-poll and wait for an incoming message on the bus. Blocks until a message arrives or timeout expires. Eliminates terminal polling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | Maximum wait time in seconds (default 300, max 600) | |
| mark_read | No | Whether to mark the delivered messages as read | |
| agent_name | Yes | Your agent ID to wait for |