rex_events_poll
Poll buffered Rex server events from a cursor to retrieve new events and the next cursor; use the dropped flag to detect when events fell out of the buffer.
Instructions
Long-poll buffered Rex server events after cursor (0 = oldest). Returns events and the next cursor; dropped: true means events after your cursor fell out of the buffer.
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": "rex_events_poll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| types | No | Match the event type or a session_event's inner type | |
| cursor | No | ||
| session | No | Session label or ID | |
| wait_ms | No |