channels_delete
Delete a Discord channel or close a DM permanently. Destructive and irreversible; requires confirmation.
Instructions
Purpose: Delete a channel (or close a DM). DESTRUCTIVE - IRREVERSIBLE.
When to use:
Tear down stale or compromised channels.
When NOT to use:
Just hiding from a role → use
channels_modify_permissions.
Returns: {deleted, channel_id}.
Security: gated by ConfirmRequired. Pass __confirm:true AND set MCP_DRY_RUN=false to actually delete.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| __confirm | No | Set true to authorize this destructive operation. Also requires the server to run with MCP_DRY_RUN=false; otherwise a DRY_RUN_PREVIEW is returned. | |
| channel_id | Yes | Channel to delete (IRREVERSIBLE) | |
| audit_reason | No | Reason recorded in audit log (X-Audit-Log-Reason header) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||