wait_for
Block until an event matching the filters arrives, or time out. Use this after triggering an action instead of sleeping and polling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | Optional minimum level, e.g. ERROR | |
| topic | No | Optional topic or prefix | |
| contains | Yes | Text the event must contain (case-insensitive) | |
| timeout_ms | No | How long to wait (default 30000, max 60000) |