delete_channel
Deletes a Discord channel, category, thread or DM/group DM to remove unwanted spaces or close conversations. Provide the channel ID to permanently delete it or leave the group.
Instructions
Delete a server channel / category, close a DM, leave a group DM, or delete a thread. [DELETE /channels/{channel_id}]
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>"
},
"name": "delete_channel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Reason (shown in the audit log) | |
| silent | No | silent | |
| channel_id | Yes | Channel ID (text, voice, thread, forum or DM channel) |