metrics_alerts
Retrieve all Prometheus alerting rules and their current state—firing, pending, or inactive—optionally filtered by state or backend target, so you can quickly assess active incidents.
Instructions
Get all Prometheus alerting rules and their current state (firing, pending, inactive).
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": "metrics_alerts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | Filter alerts by state | all |
| target | No | Named backend instance to query (configured: default). Defaults to the primary. |