discord_update_forum_post
Modify Discord forum posts by updating titles, tags, or changing archived and locked status for thread management.
Instructions
Update a forum post's title, archived/locked status, or applied tags.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thread_id | Yes | ||
| title | No | New title for the forum post. | |
| archived | No | Whether to archive the thread. | |
| locked | No | Whether to lock the thread. | |
| applied_tags | No | Array of tag IDs to apply to the post. |
Implementation Reference
- src/tools/forums.ts:291-300 (handler)The handler for "discord_update_forum_post" that edits the thread using thread.edit.
case "discord_update_forum_post": { const thread = await getThreadChannel(args.thread_id as string); const editOptions: Record<string, unknown> = {}; if (args.title !== undefined) editOptions.name = args.title as string; if (args.archived !== undefined) editOptions.archived = args.archived as boolean; if (args.locked !== undefined) editOptions.locked = args.locked as boolean; if (args.applied_tags !== undefined) editOptions.appliedTags = args.applied_tags as string[]; await thread.edit(editOptions); return { content: [{ type: "text", text: `✅ Forum post "${thread.name}" updated.` }] }; } - src/tools/forums.ts:131-149 (schema)The MCP schema definition for the tool "discord_update_forum_post".
{ name: "discord_update_forum_post", description: "Update a forum post's title, archived/locked status, or applied tags.", inputSchema: { type: "object", properties: { thread_id: { type: "string" }, title: { type: "string", description: "New title for the forum post." }, archived: { type: "boolean", description: "Whether to archive the thread." }, locked: { type: "boolean", description: "Whether to lock the thread." }, applied_tags: { type: "array", items: { type: "string" }, description: "Array of tag IDs to apply to the post.", }, }, required: ["thread_id"], }, },