edit_message
Update a previously sent bot message with new content, optionally resolving #channel and @RoleName into clickable mentions.
Instructions
Edit an existing message previously sent by the bot with optional automatic mention resolution
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": {
"channelId": "<channelId>",
"messageId": "<messageId>",
"newMessage": "<newMessage>"
},
"name": "edit_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channelId | Yes | Discord channel ID | |
| messageId | Yes | Message ID to edit | |
| newMessage | Yes | New content for the message | |
| resolveMentions | No | Automatically convert #channel-name and @RoleName into clickable Discord mention pills |