graph_update_channel_message
Edit a Microsoft Teams channel message you posted by team, channel, and message ID, replacing its content with HTML or plain text. Only your own messages can be updated.
Instructions
Edit a channel message you posted.
Only your own messages can be edited; editing anyone else's message fails.
Args:
team_id: The team ID (from graph_list_teams).
channel_id: The channel ID (from graph_list_channels).
message_id: The message ID to edit (from graph_get_channel_messages).
message: Replacement message content. When is_html is true, send
explicit HTML; markdown is not converted.
is_html: Whether the message is HTML content (default: True). Use false
for plain text.
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": {
"team_id": "<team_id>",
"channel_id": "<channel_id>",
"message_id": "<message_id>",
"message": "<message>"
},
"name": "graph_update_channel_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| is_html | No | ||
| message | Yes | ||
| team_id | Yes | ||
| channel_id | Yes | ||
| message_id | Yes |