edit_message
Update a Discord bot message by changing its text, embeds, link buttons, or files; provide files to replace existing attachments.
Instructions
Edit a message the bot sent: text, embeds, link buttons, files (replaces the attachments when given).
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": {
"channel": "<channel>",
"message_id": "<message_id>"
},
"name": "edit_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bot | No | Use this bot (name or id) instead of choosing automatically | |
| files | No | ||
| embeds | No | ||
| server | No | Server name or id. Optional when the bot is in one server or DISCORD_GUILD_ID is set. | |
| channel | Yes | Channel or thread name, id, or message link | |
| content | No | New text ("" clears it) | |
| dry_run | No | Show the requests that would be made without changing anything | |
| message_id | Yes | ||
| link_buttons | No | ||
| suppress_embeds | No |