wait_for_event
Blocks until new webhook events arrive after a cursor, returning them or an empty result at timeout; reuse the returned cursor to continue listening.
Instructions
Wait for the next events after your cursor, returning as soon as there are some, or with none after timeoutMs (default 45 s, at most 50 s). Without a cursor, waits for events from now on. Call it again with the cursor it returns to keep waiting; dedupe by eventId. Uses the same cursor as poll_events and events/poll.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The event type name, from list_sources (or events/list), such as github.issues | |
| cursor | No | The cursor from your last call. Omit (or null) to start from now: the first call returns no events, only a cursor. | |
| arguments | No | The event type's arguments, as its inputSchema in list_sources (or events/list) describes them, e.g. { "repository": "owner/name", "actions": ["opened"] } for github.issues. An unknown argument or a wrong type is an error that lists the event type's arguments. | |
| timeoutMs | No | How long to wait, in milliseconds (default 45000). |