create_invite
Generate a Discord channel invite link with custom expiration and usage limits for controlled access.
Instructions
Create an invite link for a channel with custom expiration and usage limits
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": {
"channelId": "<channelId>"
},
"name": "create_invite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxAge | No | Duration before expiry in seconds (0 = never, default: 86400 = 24h) | |
| reason | No | Audit log reason | |
| unique | No | Force unique invite code creation | |
| maxUses | No | Max number of uses (0 = unlimited) | |
| channelId | Yes | Channel ID where invite points to | |
| temporary | No | Grant temporary membership (kicked upon disconnect unless role assigned) |