attribute_histogram
Show the distribution of one numeric attribute as equal-width buckets between its live minimum and maximum, each with how many records fall in it (a value equal to a bucket's upper bound counts in the next bucket, except the last). Use it for "how are ... distributed" or spread questions that a single average hides. 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": "attribute_histogram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | What the numeric attribute lives on. | |
| version_id | No | Only include data from this game version. | |
| bucket_count | No | How many buckets (default 10, max 20). | |
| event_name_id | No | Required when source is Event: the event name from list_event_names. | |
| attribute_name | Yes | The numeric attribute to bucket (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). |