poll_pending_events
Retrieve and process pending events from a polling transport subscription, with optional filtering by event type and limit. Use this to check for and handle queued events in real time.
Instructions
Poll pending events for a polling-transport subscription.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| event_type | No | ||
| subscription_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| drained | Yes | ||
| next_seq | Yes | ||
| committed | Yes | ||
| last_read_seq | Yes | ||
| subscription_id | Yes |