Set Notification Destinations
set_notification_destinationsChoose which notification channels a source's notifications are delivered to for the authenticated customer. ADMIN only. Pass the notification-channel ids (UUIDs from list_alert_channels). Omit channelIds to clear the destinations, which returns the source to the default: the customer's email channel plus their default channel. Pass an empty list to turn the source's notifications off.
This sets the source-wide row only. A row for one alert rule or one API test outranks the source row at delivery time, so turning a source off does not stop deliveries that such a row still routes. Route one alert rule with alerting's set_alert_rule_destinations and one API test with the monitoring service's set_api_test_destinations. Returns the saved destinations as JSON.
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": {
"source": "<source>"
},
"name": "set_notification_destinations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | The notification source. Validated against the set of routable sources; an unknown value is rejected with the valid set named in the error. | |
| channelIds | No | Notification channel ids, or omit to clear, or [] to turn off |