Analytics events
analytics_eventsLists observed event names and producers, and recent events for a bounded range. view=definitions returns every event name, paginated with nextDefinitionCursor. Recent events can be narrowed by eventName and an exact propertyKey/propertyValue pair (JSON-encoded scalar). Timestamps use the supplied timezone.
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": {
"projectId": "<projectId>",
"date": "<date>"
},
"name": "analytics_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| date | Yes | ||
| view | No | ||
| limit | No | ||
| toTime | No | ||
| fromTime | No | ||
| timezone | No | ||
| eventName | No | Only return events with this exact name. | |
| projectId | Yes | ||
| excludeBots | No | ||
| propertyKey | No | Top-level property key to match; requires propertyValue. | |
| propertyValue | No | JSON-encoded scalar the property must equal, such as "pro", 49, true, or null; string "1" differs from number 1. | |
| definitionCursor | No | Last event name from nextDefinitionCursor; definitions are ordered by name. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | Yes | ||
| total | Yes | ||
| events | Yes | ||
| projectId | Yes | ||
| definitions | Yes | ||
| completeness | No | ||
| nextDefinitionCursor | No |