Skip to main content

Unarchive Discord Thread

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

WRITEdiscord.unarchive_thread
  • Contract tier: agent_ready
  • Risk: write
  • Catalog version: discord-2026.07.12.3
  • Descriptor hash: e9c9b15072a5599ab7a7a49efce4553e8fdd2a8d26b1305c8ce2511943ead0cc

Use this when you need to reopen an archived thread. This changes a thread to active state through Discord's API and returns thread ID, name, and archived state. It requires a configured Discord bot and guild with the relevant permissions.

Request Body

{
"jsonrpc": "2.0",
"id": "discord-unarchive-thread-example",
"method": "tools/call",
"params": {
"name": "discord.unarchive_thread",
"arguments": {
"thread_id": "thread_id_123",
"confirm": "confirm_example"
}
}
}

Arguments Schema

{
"type": "object",
"title": "unarchive_thread input",
"required": [
"thread_id"
],
"properties": {
"confirm": {
"type": "string",
"title": "Confirm",
"default": "",
"description": "Exact phrase CONFIRM APPLY when confirmation policy is enabled; never place credentials here."
},
"thread_id": {
"type": "string",
"title": "Thread Id",
"description": "Discord thread snowflake identifying the target thread."
}
},
"description": "Validated input for the Discord MCP unarchive_thread tool."
}

Output Schema

{
"oneOf": [
{
"type": "object",
"required": [
"ok",
"data",
"meta"
],
"properties": {
"ok": {
"const": true
},
"data": {
"type": "object",
"properties": {
"archived": {
"type": [
"boolean",
"null"
],
"description": "Provider data field archived returned by unarchive_thread."
},
"thread_id": {
"type": [
"string",
"null"
],
"description": "Provider data field thread_id returned by unarchive_thread."
}
},
"description": "thread ID, name, and archived state",
"additionalProperties": true
},
"meta": {
"type": "object",
"required": [
"duration_ms",
"rate_limit",
"warnings"
],
"properties": {
"guild_id": {
"type": "string"
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"thread_id": {
"type": "string"
},
"channel_id": {
"type": "string"
},
"rate_limit": {
"type": "object",
"additionalProperties": true
},
"request_id": {
"type": "string"
},
"duration_ms": {
"type": "integer",
"minimum": 0
}
},
"description": "Safe execution metadata containing no credentials or raw headers.",
"additionalProperties": true
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"ok",
"error",
"meta"
],
"properties": {
"ok": {
"const": false
},
"meta": {
"type": "object",
"required": [
"duration_ms",
"rate_limit",
"warnings"
],
"properties": {
"guild_id": {
"type": "string"
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"thread_id": {
"type": "string"
},
"channel_id": {
"type": "string"
},
"rate_limit": {
"type": "object",
"additionalProperties": true
},
"request_id": {
"type": "string"
},
"duration_ms": {
"type": "integer",
"minimum": 0
}
},
"description": "Safe execution metadata containing no credentials or raw headers.",
"additionalProperties": true
},
"error": {
"type": "object",
"required": [
"type",
"message"
],
"properties": {
"type": {
"type": "string"
},
"message": {
"type": "string"
},
"diagnostics": {
"type": "object",
"additionalProperties": true
},
"required_perms": {
"type": "array",
"items": {
"type": "string"
}
},
"discord_error_code": {
"type": "integer"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
],
"title": "Discord MCP provider result",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Normalized success or semantic-error response; ok=false is a failed call."
}

Code Examples

curl -X POST 'https://portal.madpanda3d.com/api/mcp' \
-H 'Authorization: Bearer mad_live_***' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "discord-unarchive-thread-example",
"method": "tools/call",
"params": {
"name": "discord.unarchive_thread",
"arguments": {
"thread_id": "thread_id_123",
"confirm": "confirm_example"
}
}
}'

Example Responses

{
"ok": true,
"message": "Tool discord.unarchive_thread executed successfully.",
"note": "Response shape varies by MCP tool. Inspect live responses for exact fields."
}