get_alert_history
Query alert state changes over a time range using the ALERTS metric, optionally filtering by alert name, to review when alerts fired and resolved.
Instructions
Query alert state changes over time using ALERTS metric
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_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alertname | No | Filter by alert name | |
| timeRange | No | Time range to look back (e.g., "1h", "24h", "7d") | 1h |