Get recent events
get_recent_eventsRetrieve and clear buffered events from a subscription, oldest first, so AI agents can process queued updates without duplicates.
Instructions
Read and clear buffered events from a subscription, oldest first.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"subscription_id": "<subscription_id>"
},
"name": "get_recent_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max events to return. Default 25. | |
| subscription_id | Yes | The id subscribe_events returned, also shown by list_event_subscriptions. |