getEvents
List events. Omit locationRef to list events across all locations, or provide it to scope to one location. Call getLocations to list locations, or getLocation to fetch one by locationId. Filter by startDate or endDate ranges (event times, not creation) or by createDate range. Sort with order (relevance, createDate, startDate, or endDate with :asc or :desc).
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": "getEvents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of events per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. | |
| order | No | Sort order of events. One of relevance, createDate:asc, createDate:desc, startDate:asc, startDate:desc, endDate:asc, endDate:desc. | |
| endDate | No | Filter by end date (endDate). Provide gt, gte, lt, lte ISO datetimes. | |
| startDate | No | Filter by start date (startDate). Provide gt, gte, lt, lte ISO datetimes. | |
| createDate | No | Filter by create date (createDate). Provide gte, lte ISO datetimes. | |
| locationRef | No | UUID of the location whose events to list. Omit to list events across every location of the network. | |
| nextPageToken | No | Pagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| events | Yes | ||
| nextPageToken | No | Pass it back as nextPageToken, with the same filters, to get the next page. Absent on the last page. |