channels_list_private_archived_threads
channels_list_private_archived_threads
Section titled “channels_list_private_archived_threads”Category: channels
List archived private threads under a parent text channel. Requires MANAGE_THREADS permission.
When to use
Section titled “When to use”- Moderation review of historical private threads.
When NOT to use
Section titled “When NOT to use”- Private threads the bot created/joined → see
channels_list_joined_private_archived_threads.
| Field | Type | Required | Description |
|---|---|---|---|
channel_id | string | yes | Parent channel |
before | string | no | ISO 8601 timestamp — return threads archived before this |
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_private_archived_threads.ts