List alerts
list_alertsReturns the alert rules that are currently in a given state, with what tripped each one and when. Defaults to firing, which is the question people usually mean; pass status to ask for the ones somebody has acknowledged, snoozed or resolved instead. Alerts are rules a person set on a room, so an empty answer means nothing is tripped, not that nothing is wrong. Pass a room_id to narrow it to one room. Requires a PitCanary account.
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 |
|---|---|---|---|
| status | No | Which standing to list. Defaults to firing. One state at a time; there is no all. | |
| room_id | No | Narrow to one room. Leave it out for the whole account. |