channels_list_joined_private_archived_threads
channels_list_joined_private_archived_threads
Section titled “channels_list_joined_private_archived_threads”Category: channels
List private archived threads the current bot user has joined under a parent channel.
When to use
Section titled “When to use”- Recover private threads the bot once participated in.
When NOT to use
Section titled “When NOT to use”- Threads the bot didn’t join — use
channels_list_private_archived_threads(requires MANAGE_THREADS).
| Field | Type | Required | Description |
|---|---|---|---|
channel_id | string | yes | Parent channel |
before | string | no | Snowflake — return threads with id < this (Discord pages by id here) |
limit | integer | no | Max results (1-100) |
Returns
Section titled “Returns”\{threads, has_more, count, channel_id\}. Names wrapped in \<untrusted_discord_message>.
Output schema
Section titled “Output schema”| Field | Type | Required | Description |
|---|---|---|---|
threads | array | yes | |
has_more | boolean | yes | |
count | integer | yes | |
channel_id | string | yes | Discord channel ID (snowflake) |
Annotations
Section titled “Annotations”| Property | Value |
|---|---|
| Read-only | yes |
| Destructive | no |
| Idempotent | yes |
| Open-world | yes |
| Confirmation required | no |
Source
Section titled “Source”packages/mcp-core/src/tools/channels/list_joined_private_archived_threads.ts