get_metric
Computes a governed metric from semantic/metrics.yml, returning result rows, the SQL used, and caveats so agents can query trusted metrics with optional grouping.
Instructions
Compute a governed metric from semantic/metrics.yml. Returns rows, the SQL used and caveats.
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": {
"name": "<name>"
},
"name": "get_metric"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| group_by | No |