Delete Alert Channel
delete_alert_channelDelete a notification channel. Irreversible.
Takes two calls, like delete_alert_rule: once to preview, once with the phrase.
Any rule still pointing at this channel loses that destination silently. If it has no other channel, its firings show in the console but nobody is notified. Consider update_alert_channel with enabled false instead, which is reversible.
Needs the channels:manage capability.
channel_id: the channel's id, from list_alert_channels.
confirm: the phrase from the first call's output.
workspace: optional workspace id, name, or org-name/workspace-name when the
same name occurs in two of your orgs (defaults to your default).
Example:
Remove the old ops webhook.
{ "name": "delete_alert_channel", "arguments": { "channel_id": "8a1…" } }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": {
"channel_id": "<channel_id>"
},
"name": "delete_alert_channel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| workspace | No | ||
| channel_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |