Create alert destination
create_alert_destinationCreate a channel-based alert destination: a Slack channel the organisation's Ankra Slack app posts to, or a Microsoft Teams channel the Ankra bot is installed in. The channel must come from list_alert_destination_channels. Webhook destinations (Discord, PagerDuty, custom webhooks, Slack incoming webhooks) carry their URL as a credential and are created in the portal or with the CLI, never here. A new destination receives nothing until a notification route points at it (create_notification_route).
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": {
"name": "<name>",
"integration_type": "<integration_type>",
"channel_id": "<channel_id>"
},
"name": "create_alert_destination"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Destination name, unique in the organisation. | |
| enabled | No | Whether the destination delivers (default true). | |
| template | No | Optional message template; omit for the default. | |
| channel_id | Yes | Channel id from list_alert_destination_channels. | |
| description | No | Optional description. | |
| integration_type | Yes | slack for a Slack channel the organisation's Ankra Slack app posts to, teams for a Microsoft Teams channel the Ankra bot is installed in. |