Skip to content

channels_delete

Category: channels

Delete a channel (or close a DM). DESTRUCTIVE — IRREVERSIBLE.

  • Tear down stale or compromised channels.
  • Just hiding from a role → use channels_modify_permissions.
FieldTypeRequiredDescription
channel_idstringyesChannel to delete (IRREVERSIBLE)
audit_reasonstringnoReason recorded in audit log (X-Audit-Log-Reason header)

\{deleted, channel_id\}.

FieldTypeRequiredDescription
deletedbooleanyes
channel_idstringyesDiscord channel ID (snowflake)
PropertyValue
Read-onlyno
Destructiveyes
Idempotentyes
Open-worldyes
Confirmation requiredyes (__confirm:true required)

packages/mcp-core/src/tools/channels/delete.ts