prometheus_alert_rules
Retrieve current alerting and recording rules from Prometheus, including active alerts from each rule.
Instructions
Query the Prometheus /rules API. Returns a list of alerting and recording rules that are currently loaded. In addition it returns the currently active alerts fired by the Prometheus instance of each alerting rule.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "prometheus_alert_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||