update_message
Edit a message you sent in Microsoft Teams. Provide team_id, channel_id, and message_id for channel messages, or chat_id and message_id for chats.
Instructions
Edit a message you sent.
For channel messages: provide team_id + channel_id + message_id. For chat messages: provide chat_id + message_id. Works on top-level channel messages and on chat messages; channel thread replies are not supported (Graph addresses them under their parent message). Replaces the whole body with plain-text content; @mentions cannot be added on edit and existing ones become plain text. Only available in Global cloud (not GCC/DOD).
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": {
"message_id": "<message_id>",
"content": "<content>"
},
"name": "update_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | No | ||
| content | Yes | ||
| team_id | No | ||
| channel_id | No | ||
| message_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |