discord_delete_forum_post
Delete a Discord forum post by providing its thread ID. This tool removes forum threads from Discord servers to manage discussions.
Instructions
Delete (close) a forum post/thread.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thread_id | Yes |
Implementation Reference
- src/tools/forums.ts:262-267 (handler)The handler for 'discord_delete_forum_post' which retrieves the thread channel and deletes it.
case "discord_delete_forum_post": { const thread = await getThreadChannel(args.thread_id as string); const threadName = thread.name; await thread.delete(); return { content: [{ type: "text", text: `✅ Forum post "${threadName}" deleted.` }] }; } - src/tools/forums.ts:85-95 (schema)Input schema definition for the 'discord_delete_forum_post' tool.
{ name: "discord_delete_forum_post", description: "Delete (close) a forum post/thread.", inputSchema: { type: "object", properties: { thread_id: { type: "string" }, }, required: ["thread_id"], }, },