discord_create_thread
Create a thread from an existing message or as a standalone thread in a text channel. Provide the parent channel ID and thread name.
Instructions
Create a thread, either branching from an existing message (pass message_id) or as a standalone thread in a text channel (omit message_id). Standalone creation requires a parent text channel and fails if channel_id is itself a thread. Requires the Create Public Threads permission. Returns the new thread's ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | Yes | ID (snowflake) of the parent text channel. For a message-based thread, the channel containing message_id. | |
| name | Yes | Name of the thread to create (max 100 characters). | |
| 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). |