get_alert_rules
Retrieve all Prometheus alerting rules and their current states, with optional filters by rule group or state to inspect firing, pending, or inactive alerts.
Instructions
Get all alerting rules and their current states
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": "get_alert_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group | No | Filter by rule group name | |
| state | No | Filter by rule state | all |