discord_edit_message
Modify an existing Discord message sent by your bot, updating its text or embed by channel and message IDs. Use it to correct errors or refresh content without reposting.
Instructions
Edit a message. Discord only lets the bot edit its own messages.
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_id": "<channel_id>",
"message_id": "<message_id>"
},
"name": "discord_edit_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| embed | No | Optional embed: {title, description, url, color (int), fields: [{name, value, inline}], footer: {text}} | |
| content | No | ||
| mentions | No | Who this message may ping. Default 'users' (blocks @everyone/@here and role pings). 'all' allows them. | |
| channel_id | Yes | Channel ID (a thread ID also works) | |
| message_id | Yes | Message ID |