list_series
Find time-series by PromQL selector. Returns label sets for matching series within optional time window.
Instructions
List time-series matching a PromQL selector.
Args:
match: One or more comma-separated series selectors, e.g.
{job="prometheus"} or up,{job="api"}.
Each comma-separated value is sent as a separate match[]
parameter.
start: Optional start timestamp for the look-up window.
end: Optional end timestamp for the look-up window.
Returns: JSON array of label-set objects describing each matching series.
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": {
"match": "<match>"
},
"name": "list_series"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| match | Yes | ||
| start | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||