discord_delete_message
Delete a specified message from a Discord channel by providing the channel ID and message ID. Returns JSON confirmation or error details.
Instructions
Delete a message from a Discord channel.
Args:
channel_id: The ID of the channel containing the message.
message_id: The ID of the message to delete.
Returns:
JSON confirmation of deletion or error details.
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": "discord_delete_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | Yes | The ID of the Discord channel containing the message. Required. | |
| message_id | Yes | The ID of the message to delete. Required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |