get_distribution
Summarize any column's distribution using bin counts: equal-width for numeric, time-bucket for datetimes, top-n for categories. Returns aggregated bins only, not underlying rows.
Instructions
Unified bin-counts for any column type (B8). Numeric → equal-width bins between min/max; datetime → time-bucket bins; categorical / string → top-n + 'other' bucket. Token-cheap way to ask 'what does this column look like?'. Bin counts only (default 20 bins); it never returns the underlying rows.
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": {
"dataset": "<dataset>",
"column": "<column>"
},
"name": "get_distribution"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bins | No | Number of bins / categories to return (default 20, max 100) | |
| column | Yes | Column name | |
| dataset | Yes | Dataset identifier |