Delete Channel Message
delete_channel_messageDelete a channel message by marking it as deleted. Only the original sender can remove their own messages.
Instructions
Soft delete a message in a channel. Only the message sender can delete their own messages. The message will be marked as deleted.
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": {
"teamId": "<teamId>",
"channelId": "<channelId>",
"messageId": "<messageId>"
},
"name": "delete_channel_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| teamId | Yes | Team ID | |
| replyId | No | Reply ID if deleting a reply to a message (optional) | |
| 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. | |
| channelId | Yes | Channel ID | |
| messageId | Yes | Message ID to delete |