graph_delete_channel_message
Soft-delete a Microsoft Teams channel message by team, channel, and message ID, or restore a previously deleted message when needed.
Instructions
Soft-delete a channel message, or restore one you deleted.
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 delete (from graph_get_channel_messages). restore: Whether to restore a previously soft-deleted message (default false).
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>"
},
"name": "graph_delete_channel_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| restore | No | ||
| team_id | Yes | ||
| channel_id | Yes | ||
| message_id | Yes |