count_over_time
Count matches or events bucketed by day, week or month over a time range, oldest bucket first. Pass source and bucket, plus occurred_after / occurred_before (ISO 8601) to bound the range; optional version_id and, for events, event_name_id. Returns each bucket's period-start date and count.
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": {
"source": "<source>",
"bucket": "<bucket>"
},
"name": "count_over_time"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bucket | Yes | Size of each time bucket. | |
| source | Yes | Whether to count matches or events. | |
| version_id | No | Only count data from this game version. | |
| event_name_id | No | For source events only: only count this event name. | |
| occurred_after | No | Only count data at or after this time (ISO 8601 date or date-time). | |
| occurred_before | No | Only count data at or before this time (ISO 8601 date or date-time). |