Create Invite
discord_create_inviteGenerates a Discord channel invite link with customizable expiration, max uses, and temporary membership settings.
Instructions
Create an invite link for a channel.
Args:
channel_id (string): Discord channel ID
max_age (number): Duration in seconds (0 = never expires, max 604800 = 7 days)
max_uses (number): Max uses (0 = unlimited)
temporary (boolean): Kick members when they disconnect if not assigned a role
unique (boolean): Create new unique invite vs reuse existing
Returns: Created invite URL
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": {
"channel_id": "<channel_id>"
},
"name": "discord_create_invite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unique | No | Whether to create a unique invite | |
| max_age | No | Invite expiration in seconds (0 = never, max 604800 = 7 days) | |
| max_uses | No | Max uses (0 = unlimited) | |
| temporary | No | Whether membership is temporary | |
| channel_id | Yes | Discord channel ID (snowflake) |