tail_events
Wait for specific runtime signals like route changes or errors by blocking until a matching event arrives or the timeout elapses, returning the matched events directly.
Instructions
Long-poll: blocks until at least one event matching kinds arrives, OR maxWaitMs elapses. Returns the matched events. Use to wait for specific runtime signals (route change, build complete, etc.) without polling get_event_log. Default maxWaitMs=5000, max 30000.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kinds | Yes | Event kinds to wait for (matches any in the list). | |
| limit | No | Max events to return (default 20). | |
| maxWaitMs | No | Max wait in ms (default 5000, max 30000). |