Remove alert
delete_alertRetire an alert rule while keeping past firings in the inbox; confirm first, then return the site's remaining rules with the removed ID under deleted.
Instructions
Retire an alert rule (past firings stay in the inbox). Confirm with the user first. Returns the site's remaining rules with the removed id under deleted.
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": {
"site_id": "<site_id>",
"rule_id": "<rule_id>"
},
"name": "delete_alert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule_id | Yes | `id` of the rule to retire, from list_alerts `rules`. | |
| site_id | Yes | Site id from list_sites: vendor:station_id, e.g. sungrow:1445844. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||