delete_message
Delete a specific message from a Discord channel using its channel ID and message ID. Removes unwanted or outdated content directly.
Instructions
Deletes a message in a Discord channel.
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>",
"message_id": "<message_id>"
},
"name": "delete_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | Yes | The ID of the channel. | |
| message_id | Yes | The ID of the message to delete. |