query_metric
Query a governed metric or dataset by name, dimensions, columns, optional grain and year to retrieve policy-enforced lakehouse results.
Instructions
Structured form of ask: name a metric or dataset from list_metrics, plus dimensions (metrics), columns (datasets), an optional grain and year.
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": "query_metric"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| year | No | ||
| grain | No | ||
| columns | No | ||
| dimensions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | No | ||
| kind | No | ||
| rows | No | ||
| grain | No | ||
| target | No | ||
| columns | No | ||
| filters | No | ||
| message | No | ||
| outcome | Yes | ||
| candidates | No | ||
| dimensions | No | ||
| reason_code | No | ||
| row_filters | No | ||
| cost_estimate | No | ||
| audit_event_id | No | ||
| masked_columns | No | ||
| suppressed_cells | No |