prometheus_query_range
Query Prometheus for time series metrics and generate a plotted image to visualize infrastructure status over a specified time range.
Instructions
Query Prometheus /query_range API endpoint and return
an image of a plot of the time series monitoring data.
Use this tool whenever the user asks about the status
of their compute infrastructure.
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": {
"query": "<query>",
"start_time": "<start_time>",
"end_time": "<end_time>",
"step": "<step>"
},
"name": "prometheus_query_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| step | Yes | ||
| query | Yes | ||
| end_time | Yes | ||
| start_time | Yes |