delete_channel
Remove a Discord channel by ID from a server. Optionally include an audit log reason for the deletion.
Instructions
Delete a channel from a server
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 |
|---|---|---|---|
| reason | No | Audit log reason | |
| channelId | Yes | Channel ID to delete |