aggregate_attribute
Summarize one numeric attribute with count, sum, average, minimum and maximum over a live scope. source is Match, MatchPlayer, MatchEvent, Player, or Event; attribute_name must be a numeric attribute (data_type integer or float) at that level from list_attribute_types (for Event, also pass event_name_id). Optional filters: version_id, occurred_after, occurred_before (ISO 8601), except on Player.
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>",
"attribute_name": "<attribute_name>"
},
"name": "aggregate_attribute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | What the numeric attribute lives on. | |
| version_id | No | Only include data from this game version. | |
| event_name_id | No | Required when source is Event: the event name from list_event_names. | |
| attribute_name | Yes | The numeric attribute to summarize (from list_attribute_types at this level). | |
| occurred_after | No | Only include data at or after this time (ISO 8601 date or date-time). | |
| occurred_before | No | Only include data at or before this time (ISO 8601 date or date-time). |