invite_create
Creates a Discord channel invite with configurable expiry, use limits, temporary membership, and unique-link enforcement for controlled access.
Instructions
Create an invite to a channel. max_age_hours 0 = never expires (max 168), max_uses 0 = unlimited, temporary = kicked when they go offline without a role, unique = never reuse an existing one.
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": "invite_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bot | No | ||
| guild | No | ||
| reason | No | ||
| unique | No | ||
| channel | Yes | ||
| max_uses | No | ||
| temporary | No | ||
| max_age_hours | No |