discord_bulk_delete_messages
Deletes 2 to 100 messages from a Discord guild channel in one request; the operation fails if any message is older than 14 days or any ID is duplicated.
Instructions
Delete 2 to 100 messages from a guild channel in one request. The whole request fails if any message is older than 14 days or any message ID is duplicated. To delete a single message instead use discord_delete_message. Bot permissions it may need: View Channel, Manage Messages. Destructive: the user is asked to approve the exact change before it runs.
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_ids": "<message_ids>"
},
"name": "discord_bulk_delete_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Audit log reason sent in the X-Audit-Log-Reason header (up to 512 characters) | |
| channel_id | Yes | ID of the channel containing the messages to delete | |
| message_ids | Yes | Array of 2 to 100 unique message IDs younger than 14 days to delete |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deleted | Yes | ||
| channel_id | Yes | Discord snowflake ID as a numeric string | |
| message_ids | Yes |