discord_clone_channel
Clone Discord channels with their names, topics, and permission settings to replicate channel configurations across servers.
Instructions
Clone a channel with its name, topic and permission overwrites.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | Yes | ||
| new_name | No |
Implementation Reference
- src/tools/channels.ts:118-122 (handler)The implementation of the 'discord_clone_channel' tool handler, which fetches the original channel and performs a clone operation.
case "discord_clone_channel": { const channel = await getGuildChannel(args.channel_id as string); const cloned = await channel.clone({ name: args.new_name as string | undefined }); return { content: [{ type: "text", text: `✅ Channel cloned as #${cloned.name} (id: ${cloned.id}).` }] }; } - src/tools/channels.ts:61-71 (schema)The definition and input schema for the 'discord_clone_channel' tool.
name: "discord_clone_channel", description: "Clone a channel with its name, topic and permission overwrites.", inputSchema: { type: "object", properties: { channel_id: { type: "string" }, new_name: { type: "string" }, }, required: ["channel_id"], }, },