wait_for_event
Halt execution until a new event arrives or timeout, enabling continuous processing of messages, timers, and agent completions in a loop.
Instructions
Long-poll for events. Blocks until a new event arrives (message, timer, agent completion, etc.) or timeout. Use in a loop for continuous event handling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | Max wait ms (default 30000, max 120000) |