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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "poll_events"
}
}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. |