Prometheus Query
prometheus_queryExecute a Prometheus query to retrieve monitoring metrics. Optionally specify a time in RFC3339 format for historical data.
Instructions
Execute a Prometheus query
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>"
},
"name": "prometheus_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | prometheus query expression | |
| time | No | optional time parameter for the query, in RFC3339 format |