Create thread
create_threadCreate a thread from an existing message or as a standalone thread in a Discord channel, specifying name, channel, and optional auto-archive duration.
Instructions
Start a thread from an existing message, or as a standalone thread in a text/forum channel. Pass message_id to branch from a message; omit it for a standalone thread.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Thread name (1-100 characters). | |
| server | No | Server (guild) name or id. Optional when the bot is in a single server or DISCORD_GUILD_ID is set. | |
| channel | Yes | Channel to create the thread in (name or id). | |
| message_id | No | Message to start the thread from. Omit for a standalone thread. | |
| slowmode_seconds | No | Slowmode delay in seconds (0-21600). | |
| auto_archive_minutes | No | Inactivity minutes before auto-archive. Allowed values: 60, 1440, 4320, 10080. Defaults to channel setting. |