poll_events
Retrieve buffered gateway and webhook events for processing, with optional type and sequence filters; use peek mode to inspect events without consuming them.
Instructions
Read buffered gateway/webhook events. Consumes returned events by default; pass peek=true to keep them. Requires event transport to be running.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| peek | No | ||
| limit | No | ||
| types | No | Event types to include, e.g. ["C2C_MESSAGE_CREATE"]. | |
| since_seq | No | Only events with seq greater than this. |