discord_reset_channel_permissions
Reset a Discord channel's permissions by removing all overwrites, restoring inheritance from parent categories or server settings.
Instructions
Remove ALL permission overwrites on a channel (reset to inherited).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | Yes | ||
| reason | No |
Implementation Reference
- src/tools/permissions.ts:127-131 (handler)The handler implementation for the `discord_reset_channel_permissions` tool, which clears all permission overwrites on a specified channel.
case "discord_reset_channel_permissions": { const channel = await getGuildChannel(args.channel_id as string); await channel.permissionOverwrites.set([], args.reason as string | undefined); return { content: [{ type: "text", text: `✅ All permission overwrites cleared on #${channel.name}.` }] }; } - src/tools/permissions.ts:46-57 (schema)The definition and input schema for the `discord_reset_channel_permissions` tool.
{ name: "discord_reset_channel_permissions", description: "Remove ALL permission overwrites on a channel (reset to inherited).", inputSchema: { type: "object", properties: { channel_id: { type: "string" }, reason: { type: "string" }, }, required: ["channel_id"], }, },