App Logo
teams.microsoft.com

Edit Chat Message

Automatically edit Chat Message on teams.microsoft.com. Edit one of your own previously-sent messages in a 1:1 Teams chat, identified by its message id (mid), replacing its text.

Input

mid required

Message id of your own message to edit, taken verbatim from get_chat_messages for this chat. Do not use the id returned by send_chat_message: it is not the id Teams stores for the message, so it cannot be found here. The id is an opaque string (older messages carry 13 digits, newer ones 19); never construct or parse it, pass through exactly what get_chat_messages returned.

newText required

Replacement text for the message.

contactName required

Display name of the person whose 1:1 chat to open, as it appears in Teams (e.g. "April Deere").

Output

mid required
text required

Text of the message read back after the edit.

edited required

FAQ

Edit one of your own previously-sent messages in a 1:1 Teams chat, identified by its message id (mid), replacing its text.
Ask an AI agent connected to Reduck to run reduck/teams.microsoft.com/edit_chat_message, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/teams.microsoft.com/edit_chat_message
You do not need one. "Edit Chat Message" drives the real teams.microsoft.com pages in a browser, so it works whether or not teams.microsoft.com offers an API for this.
Required: contactName, mid, newText.
It returns mid, text, edited.
Yes. It acts as you on teams.microsoft.com: on your own Chrome it reuses your session, and on a Reduck-hosted browser it loads the teams.microsoft.com cookies saved by the Reduck extension.
It makes changes on teams.microsoft.com, like sending, posting, booking or buying something.
Ask an AI agent connected to Reduck to run reduck/teams.microsoft.com/edit_chat_message, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/teams.microsoft.com/edit_chat_message
It is part of Reduck's official curated catalogue.

Start building not clicking