group_by_attribute
Break a live count down by the values of one categorical attribute, most common first. source is Match, MatchPlayer, MatchEvent, Player, or Event; attribute_name must be an attribute at that level from list_attribute_types (for Event, also pass event_name_id). Only works on attributes with 50 or fewer unique values. 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": "group_by_attribute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of value rows to return (default 20, max 50). | |
| source | Yes | What to count and break down. | |
| 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 attribute whose values to group by (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). |