create_invite
Generate a Discord channel invite link with limits on uses, expiry, and temporary membership. Use dry-run mode to preview requests before creating.
Instructions
Create an invite link to a channel.
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": "<channel>"
},
"name": "create_invite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bot | No | Use this bot (name or id) instead of choosing automatically | |
| server | No | Server name or id. Optional when the bot is in one server or DISCORD_GUILD_ID is set. | |
| unique | No | ||
| channel | Yes | Channel name or id | |
| dry_run | No | Show the requests that would be made without changing anything | |
| max_uses | No | 0 = unlimited | |
| temporary | No | Kick members who leave without a role | |
| max_age_hours | No | 0 = never expires |