list_active_alerts
List currently firing alert events with optional filters by severity, rule, business group, or time range to identify active issues.
Instructions
List active alert events with optional filters. Use this to view currently firing alerts.
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": "list_active_alerts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| p | No | Page number (starts from 1) | |
| rid | No | Alert rule ID | |
| bgid | No | Business group ID | |
| cate | No | Alert category (prometheus/host/elasticsearch, default $all) | |
| etime | No | End time Unix timestamp | |
| hours | No | Lookback hours (mutually exclusive with stime/etime) | |
| limit | No | Page size (default 20) | |
| query | No | Search keyword (matches rule name/tags) | |
| stime | No | Start time Unix timestamp | |
| severity | No | Severity levels comma-separated (1=critical, 2=warning, 3=info) | |
| rule_prods | No | Product types comma-separated (host/metric/loki/anomaly) | |
| datasource_ids | No | Datasource IDs comma-separated |