Confirm a channel with its code
confirm_channelEnter the 6-digit code the channel received. Turns the channel on and adds it to alert_id (and to any alert named when it was added). Ask the person for the code; never guess. Five wrong codes need a new code.
Permission: channels:manage.
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>",
"code": "<code>"
},
"name": "confirm_channel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The 6-digit code the person received. | |
| alert_id | No | Also add the channel to this alert. | |
| channel_id | Yes | Channel ID from add_channel. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No |