Change an alert
update_alertChange an alert's trigger, channel, target or custom text (subject, message), or turn it on or off with enabled. Get the id from list_alerts. When you change the channel, send a new target too.
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>"
},
"name": "update_alert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Site domain (example.com), id or public id (tb_…). Optional with a site key, or when the account has one site. | |
| target | No | ||
| channel | No | ||
| enabled | No | ||
| message | No | New custom message; null or an empty string for the default. | |
| subject | No | New custom subject; null or an empty string for the default. | |
| trigger | No | ||
| alert_id | Yes |