mailbox_wait
Wait for incoming messages in an agent's mailbox, blocking until a new message arrives or the timeout expires. Returns immediately if messages are already pending, eliminating the need for polling.
Instructions
Block until a new message arrives (long-poll, up to timeout). Returns immediately if pending messages exist. Import 'time' is at module top.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | No | ||
| timeout_seconds | No |