delete_channel
Removes a channel when allowDevDelete is enabled and moves its logs to the trash, where an admin can restore or empty them.
Instructions
Deletes a channel (off by default — works only when the user turns on allowDevDelete in the admin app settings). Logs move to the trash, where the admin app can restore or empty them.
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": {
"channelId": "<channelId>"
},
"name": "delete_channel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channelId | Yes | Channel ID to delete |