channels_create_guild_channel
Create a new channel in a Discord guild, supporting text, voice, category, announcement, and forum types. Ideal for programmatic server setup and tier-based channel provisioning.
Instructions
Purpose: Create a new channel in a guild (text, voice, category, announcement, forum, etc.).
When to use:
Programmatic guild bootstrap; tier-based channel provisioning.
When NOT to use:
Threads - use
messages_create_thread,channels_forum_create_thread, or thread-specific tools.
Type values (from Discord API): 0 GUILD_TEXT, 2 GUILD_VOICE, 4 GUILD_CATEGORY, 5 GUILD_ANNOUNCEMENT, 13 GUILD_STAGE_VOICE, 14 GUILD_DIRECTORY, 15 GUILD_FORUM, 16 GUILD_MEDIA. Pick fields that match the type - extra fields are ignored by Discord.
Example: {guild_id:"…", name:"announcements", type:5, parent_id:"…"}
Returns: {id, name, type, parent_id}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Channel name (1-100 chars) | |
| nsfw | No | Mark as NSFW | |
| type | No | Discord channel type (omit for default GUILD_TEXT=0) | |
| topic | No | Channel topic (text/forum/announcement only) | |
| bitrate | No | Voice bitrate in bps (voice/stage) | |
| guild_id | Yes | Target guild | |
| position | No | Sort position | |
| parent_id | No | Category to nest under | |
| rtc_region | No | Voice region override (voice/stage) | |
| user_limit | No | Voice user cap (0 = no limit) | |
| audit_reason | No | Reason recorded in audit log (X-Audit-Log-Reason header) | |
| available_tags | No | Forum tag set | |
| default_sort_order | No | Forum sort order (0 LATEST_ACTIVITY, 1 CREATION_DATE) | |
| video_quality_mode | No | 1 AUTO, 2 FULL (voice/stage) | |
| rate_limit_per_user | No | Slowmode in seconds (0-21600) | |
| default_forum_layout | No | Forum layout (0 NOT_SET, 1 LIST_VIEW, 2 GALLERY_VIEW) | |
| permission_overwrites | No | Permission overwrites to seed at creation | |
| default_reaction_emoji | No | Forum default reaction (emoji_id OR emoji_name) | |
| default_auto_archive_duration | No | Default thread auto-archive (60/1440/4320/10080 minutes) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||