query_metric
Computes certified simple, ratio, or derived metrics with filters, dimensions, time ranges, and role-based access; returns results to cite by metric name and version.
Instructions
Compute a certified metric (simple, ratio or derived). Cite name and version in answers. Omit as_role when server is started with a bound --role.
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": {
"metric": "<metric>"
},
"name": "query_metric"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dims | No | ||
| limit | No | ||
| metric | Yes | ||
| as_role | No | ||
| filters | No | ||
| order_by | No | ||
| time_grain | No | ||
| time_range | No | ||
| entity_keys | No |