loki_label_values
Retrieve the list of distinct values for a specified Loki label like host or service to discover valid filter options before executing a log query.
Instructions
List values for one Loki label, such as host or service. Use this to discover valid filter values before running a log query. This is read-only.
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": {
"label": "<label>"
},
"name": "loki_label_values"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | Label name to inspect, for example host, service, or level. |