Wait for events
wait_for_eventsWait up to 25 seconds for the next events after a cursor (a reply, a delivery receipt), then return them.
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": "wait_for_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | The `cursor` of the previous response. Omit on the first call. | |
| timeout | No | Seconds to hold the request. |