Handle an alert
set_alert_statusAcknowledges, snoozes or resolves one firing alert. An alert re-fires while the condition that caused it still holds, so resolving one that is still true only quiets it until the next check. Requires a PitCanary account.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"alert_id": "<alert_id>",
"status": "<status>"
},
"name": "set_alert_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | No | How long to snooze for, 1 to 168 hours. Only used when snoozing. | |
| status | Yes | What to do with it. | |
| alert_id | Yes | The alert id, as returned by list_alerts. |