Delete invite
delete_inviteRevoke a Discord invite using its code or full URL. Removes access for anyone with that invite link.
Instructions
Revoke an invite by its code. Accepts the full URL or just the code.
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": "delete_invite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Invite code or full URL (e.g. 'abc123' or 'https://discord.gg/abc123'). | |
| server | No | Server (guild) name or id. Optional when the bot is in a single server or DISCORD_GUILD_ID is set. |