query_range
Evaluate PromQL over a time window ending now to retrieve per-series min/max/avg/last summaries and a downsampled timeline for trend analysis.
Instructions
Evaluate PromQL over a time window ending now: per-series min/max/avg/last plus a downsampled timeline.
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": {
"promql": "<promql>"
},
"name": "query_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| promql | Yes | PromQL expression to evaluate over time. | |
| minutes | No | Window length, ending now (max 7 days). | |
| step_seconds | No | Resolution. 0 picks one automatically. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |