discord_create_thread
Create a public or private Discord thread from an existing message or directly in a text or announcement channel, returning the new thread ID for follow-up actions.
Instructions
Create a thread, either branching from an existing message (pass message_id) or as a standalone thread in a text or announcement channel (omit message_id). Standalone creation fails if channel_id is a thread, a voice channel or a stage channel. Requires the Create Public Threads permission (or Create Private Threads for a private thread). Branching from a message requires the Read Message History permission. Returns the new thread's ID. Set private for a standalone thread in a text channel that only its members and moderators see. Adding people with member_ids requires the Send Messages in Threads permission; discord_add_thread_member adds them later. In a forum channel, use discord_create_forum_post instead.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"channel_id": "<channel_id>",
"name": "<name>"
},
"name": "discord_create_thread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the thread to create (max 100 characters). | |
| private | No | Optional. True creates a standalone private thread, visible only to its members and to moderators; the bot joins it as its creator. Not available in an announcement channel, whose threads are public. Default false (public). | |
| invitable | No | Optional, private threads only. Whether members without Manage Threads can add other people to the thread. Discord's default is true. | |
| channel_id | Yes | ID (snowflake) of the parent text or announcement channel. For a message-based thread, the channel containing message_id. | |
| member_ids | No | Optional. Up to 50 Discord user IDs (snowflakes) to add to the new thread; duplicates are added once. Needs Send Messages in Threads. A refused add, or one the call had no time left for, is reported in the result and leaves the thread in place. | |
| message_id | No | Optional. Message to branch the thread from. If omitted, a standalone thread is created in the channel. | |
| auto_archive_duration | No | Minutes of inactivity before auto-archiving: 60, 1440, 4320, or 10080. Default 1440 (24h). |