discord_move_channel
Move Discord channels between categories or remove them from categories to organize server structure efficiently.
Instructions
Move a channel into a category (or remove from category if category_id is omitted).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | Yes | ||
| category_id | No |
Implementation Reference
- src/tools/channels.ts:112-116 (handler)The handler for discord_move_channel which fetches the channel and edits its parent (category).
case "discord_move_channel": { const channel = await getGuildChannel(args.channel_id as string); await channel.edit({ parent: (args.category_id as string | undefined) ?? null }); return { content: [{ type: "text", text: `✅ Channel #${channel.name} moved.` }] }; } - src/tools/channels.ts:49-59 (schema)The schema definition for discord_move_channel.
name: "discord_move_channel", description: "Move a channel into a category (or remove from category if category_id is omitted).", inputSchema: { type: "object", properties: { channel_id: { type: "string" }, category_id: { type: "string" }, }, required: ["channel_id"], }, },