get_metric_metadata
Retrieve a metric's dimensions and sample values to see its available metadata attributes.
Instructions
Get metadata (dimensions and their values) for a metric.
Runs a short query for the named metric and extracts all dimension keys and sample values from the results.
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_name": "<metric_name>"
},
"name": "get_metric_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from_time | No | Start time for discovery window | -5m |
| metric_name | Yes | Metric name, e.g. 'CPU_Idle' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |