delete_invite
Revokes a Discord invite by code or full link, optionally recording a reason in the audit log. Use it to invalidate invite links and control server access.
Instructions
Revoke an invite. [DELETE /invites/{invite_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": {
"invite_code": "<invite_code>"
},
"name": "delete_invite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Reason (shown in the audit log) | |
| invite_code | Yes | Invite code or full invite link (discord.gg/xyz) |