invites_delete
Delete a Discord invite code to stop access from an over-shared or compromised link. This irreversible action requires explicit confirmation.
Instructions
Purpose: Revoke a Discord invite by code. DESTRUCTIVE - IRREVERSIBLE.
When to use: - Cut off an over-shared or compromised invite link.
When NOT to use: - To rotate without disrupting access → create a new invite first, then delete the old one.
Returns: {deleted, code}. Pass __confirm:true AND set MCP_DRY_RUN=false to actually delete.
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": {
"code": "<code>"
},
"name": "invites_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Invite code to revoke | |
| __confirm | No | Set true to authorize this destructive operation. Also requires the server to run with MCP_DRY_RUN=false; otherwise a DRY_RUN_PREVIEW is returned. | |
| audit_reason | No | Reason recorded in audit log (X-Audit-Log-Reason header) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||