get_invite
Retrieve Discord invite details—server, channel, inviter, and optional counts or expiration—without joining the server.
Instructions
Look up an invite (server, channel, inviter, counts) without joining. [GET /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": "get_invite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invite_code | Yes | Invite code or full invite link (discord.gg/xyz) | |
| with_counts | No | Include approximate member/presence counts | |
| with_expiration | No | Include expiration date | |
| guild_scheduled_event_id | No | guild scheduled event id (ID) |