Update Chat Message
update_chat_messageUpdate a previously sent Microsoft Teams chat message with new text, Markdown, mentions, or importance. Use this to correct or revise a message you sent in a chat.
Instructions
Update (edit) a chat message that was previously sent. Only the message sender can update their own messages. Supports updating content with text or Markdown formatting, mentions, and importance levels.
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": {
"chatId": "<chatId>",
"messageId": "<messageId>",
"message": "<message>"
},
"name": "update_chat_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | Yes | Chat ID | |
| format | No | Message format (text or markdown) | |
| message | Yes | New message content | |
| mentions | No | Array of @mentions to include in the message | |
| tenantId | No | Target tenant ID from list_tenants. Omit only when a default is configured or exactly one tenant is connected. Resource IDs belong to this tenant. | |
| messageId | Yes | Message ID to update | |
| importance | No | Message importance |