purge_my_messages
Deletes your recent Discord messages in a channel or DM, optionally only those containing specific text, with dry-run preview and rate-limit-aware pacing.
Instructions
Delete your own recent messages in a channel/DM (optionally only those containing some text). Goes slowly to respect rate limits.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "purge_my_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Only messages after this time (ISO8601) | |
| limit | No | Max messages of yours to delete (default 20, max 500) | |
| dry_run | No | Only list what would be deleted | |
| user_id | No | Or: a user ID to DM (opens the DM for you) | |
| contains | No | Only delete messages containing this text | |
| channel_id | No | Channel/thread/DM ID or a discord.com/channels/… link |