get_trends
Retrieve daily event counts for a specified event within a date range, with optional grouping by a property to analyze trends.
Instructions
Get event trends (day-by-day counts) over a date range, optionally grouped by a property.
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": {
"event_name": "<event_name>",
"from": "<from>",
"to": "<to>"
},
"name": "get_trends"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | YYYYMMDD | |
| from | Yes | YYYYMMDD | |
| group_by | No | Optional property to group/segment results by | |
| event_name | Yes |