Skip to main content

Create Thread

Snapshot Catalog Entry

This page is generated from broker tools/list snapshot data.

POSTdiscord.create_thread

Execute discord.create_thread through the broker.

Request Body

{
"jsonrpc": "2.0",
"id": "discord-create-thread-example",
"method": "tools/call",
"params": {
"name": "discord.create_thread",
"arguments": {
"channel_id": "channel_id_123",
"message_id": "message_id_123",
"name": "name_example",
"auto_archive_duration": "auto_archive_duration_example",
"confirm": "confirm_example"
}
}
}

Arguments Schema

{
"properties": {
"channel_id": {
"type": "string"
},
"message_id": {
"type": "string"
},
"name": {
"type": "string"
},
"auto_archive_duration": {
"type": "string"
},
"confirm": {
"type": "string"
}
},
"required": [
"channel_id",
"message_id",
"name"
],
"type": "object"
}

Code Examples

curl -X POST 'https://madpanda3d.com/lab/mad-mcps/portal/api/mcp' \
-H 'Authorization: Bearer mad_live_***' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "discord-create-thread-example",
"method": "tools/call",
"params": {
"name": "discord.create_thread",
"arguments": {
"channel_id": "channel_id_123",
"message_id": "message_id_123",
"name": "name_example",
"auto_archive_duration": "auto_archive_duration_example",
"confirm": "confirm_example"
}
}
}'

Example Responses

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