Edit Discord message
TL;DR
About
In the Discord app you hover over the message and click the pencil, or press the up arrow to edit your last one. You would only hand this to an agent already doing Discord work for you, when the fix is part of that job. Say the meetup announcement in #announcements went out with 8pm instead of 9pm. Copy its link (right-click, Copy Message Link) and send the full corrected text. You get back what Discord saved, plus previousContent with the old wording as the edit box showed it. The catch is that an edit pings nobody. Anyone who saw 8pm in a notification still has 8pm in their head, so a short reply under the announcement (discord.com/reply_to_message) does more than the (edited) tag. Your text replaces the whole message and is capped at 2000 characters, even though Nitro accounts can post 4000. Only your own messages in server channels and threads can be changed, not DMs.
Input
content requiredThe full replacement text. This replaces the message entirely, it does not append.
messageUrl requiredFull url of your own message, e.g. https://discord.com/channels/<guildId>/<channelId>/<messageId>. discord.com/read_messages or discord.com/search_messages return the ids to build one.
Output
edited requiredcontent requiredchannelId requiredmessageId requiredpreviousContent requirededitedTimestamp optionalExample output
Shape only: placeholder values generated from the output schema, not a real run.
{
"edited": true,
"content": "…",
"channelId": "abc123",
"messageId": "abc123",
"editedTimestamp": "…",
"previousContent": "…"
}