discord_reply_message
Reply to a specific message in a Discord channel by providing the channel ID, message ID, and reply content.
Instructions
Reply to a specific message in a channel.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | Yes | ||
| message_id | Yes | The message ID to reply to. | |
| content | Yes |
Implementation Reference
- src/tools/messages.ts:316-321 (handler)The handler implementation for the `discord_reply_message` tool, which fetches the target channel and message, then executes a reply action.
case "discord_reply_message": { const channel = await getTextChannel(args.channel_id as string); const target = await channel.messages.fetch(args.message_id as string); const sent = await target.reply(args.content as string); return { content: [{ type: "text", text: `✅ Reply sent (id: ${sent.id}) to message ${args.message_id} in #${channel.name}.` }] }; } - src/tools/messages.ts:32-43 (schema)The tool definition and input schema for `discord_reply_message`.
name: "discord_reply_message", description: "Reply to a specific message in a channel.", inputSchema: { type: "object", properties: { channel_id: { type: "string" }, message_id: { type: "string", description: "The message ID to reply to." }, content: { type: "string" }, }, required: ["channel_id", "message_id", "content"], }, },