Create invite
create_inviteCreate an invite link for any Discord channel, with options for expiration time, usage limit, and temporary membership. Default invites expire in 24 hours with unlimited uses.
Instructions
Create an invite link for a channel. Defaults are deliberate: expires in 24 hours, unlimited uses. A never-expiring invite must be asked for explicitly with max_age_seconds 0.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guild | No | Guild (server) name or ID. Omit to use the default guild. | |
| channel | Yes | Channel name or ID. | |
| max_uses | No | Use limit, 0 for unlimited. Default 0. | |
| temporary | No | Members who join leave again when they disconnect. | |
| max_age_seconds | No | Lifetime in seconds, 0 for never. Default 86400 (24h). |