delete_message
Remove messages from Slack channels by specifying channel ID and timestamp to manage content and maintain workspace organization.
Instructions
Delete a message from a channel.
Args:
channel_id: The ID of the channel containing the message (e.g., "C01234567")
timestamp: The timestamp of the message to delete
Returns:
Dictionary indicating success or error
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": {
"channel_id": "<channel_id>",
"timestamp": "<timestamp>"
},
"name": "delete_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | Yes | ||
| timestamp | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||