list_alerts
Retrieve recorded Telegram alerts newest first, filtered by severity, verdict, chat, or rule. Shows only unacknowledged hits by default; option to include judge-rejected alerts for auditing.
Instructions
List recorded alerts, newest first.
By default this hides alerts the judge ruled irrelevant — that filtering is the whole point of the judge. Pass include_irrelevant=True to audit what it rejected and why (each one keeps its reasoning).
Args: limit: max number of alerts to return. unacked_only: only alerts you haven't acknowledged yet (default). rule_id: restrict to one prefilter rule. chat_id: restrict to one chat. since_hours: only alerts matched within this many hours. verdict: exact verdict — relevant, irrelevant, pending, skipped, error. min_severity: lowest severity to include (low, medium, high, critical). include_irrelevant: include alerts the judge rejected.
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_alerts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| chat_id | No | ||
| rule_id | No | ||
| verdict | No | ||
| since_hours | No | ||
| min_severity | No | ||
| unacked_only | No | ||
| include_irrelevant | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |