Add a notification channel
add_channelAdd a Slack or Discord webhook, an ntfy topic or a US mobile number. The channel stays off and receives nothing until confirm_channel gets the 6-digit code sent to it (valid 10 minutes). Text messages are charged per message from the prepaid balance: first show the person the disclosure, price, terms and privacy links from get_capabilities (channels.sms), and only after they agree send sms_consent. Never assume consent.
Permission: channels:manage. Ask the person before calling.
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": {
"type": "<type>",
"destination": "<destination>"
},
"name": "add_channel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | A label the person will recognise. | |
| type | Yes | Channel type. | |
| alert_id | No | Add the channel to this alert once it is confirmed. | |
| destination | Yes | Slack or Discord webhook URL, ntfy topic URL, or US mobile number in E.164 form (+1…). | |
| sms_consent | No | Required for sms, after the person agrees to the text-message disclosure. | |
| ntfy_access_token | No | ntfy access token, if the topic needs one. | |
| ntfy_topic_is_private | No | Required for ntfy: confirm the topic is private. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No |