list_dimensions
Identify valid dimensions for grouping one or more metrics. Pass comma-separated metric names to get only dimensions that work for all, preventing MetricFlow group-by errors.
Instructions
List the dimensions a given set of metrics can legitimately be grouped by.
Args:
metrics: One or more metric names, comma-separated. When several are
given, only dimensions valid for *all* of them are returned —
which is the honest answer, because MetricFlow will refuse a
group-by that has no join path to one of the metrics.
Dimension names are returned in MetricFlow's `entity__dimension` form,
which is exactly what `query_metrics` expects in `group_by`.
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": {
"metrics": "<metrics>"
},
"name": "list_dimensions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metrics | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||