Edit a message
edit_messageEdit a bot-sent Discord message's text or embeds, and optionally hide link previews. Use it to update or correct bot posts; it cannot modify other users' messages.
Instructions
Edits a message the bot sent (content and/or embeds). suppress_embeds hides link previews on any message (needs Manage Messages for others' messages). Bots cannot change other users' text.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"message": "<message>"
},
"name": "edit_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | No | Instead of channel: a user (ID, <@mention> or name) whose DM channel to use. | |
| guild | No | Server ID or name. Optional if DISCORD_GUILD_ID is set or the bot is in one server. | |
| embeds | No | Up to 10 rich embeds. | |
| channel | No | Channel or thread: ID, <#mention>, link, or name. Archived threads by ID or link. | |
| content | No | New text. Pass "" to remove the text. | |
| message | Yes | Message ID or message link (https://discord.com/channels/...). With a link, channel is optional. | |
| suppress_embeds | No | Hide (true) or show (false) link embeds. |