generate_bot_invite_url
Create an official OAuth2 invite link to add a bot or app to a Discord server with custom scopes and permissions.
Instructions
Generate an official OAuth2 invite link to add a bot or application to a server with custom permissions
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "generate_bot_invite_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guildId | No | Pre-select a specific server ID in the invite authorization flow | |
| clientId | No | Bot / Application client ID (defaults to this bot's ID) | |
| scopesCsv | No | Comma-separated OAuth2 scopes (default: "bot,applications.commands") | bot,applications.commands |
| permissionsCsv | No | CSV of permission names (e.g. ViewChannel,SendMessages,ManageChannels) | |
| permissionsRaw | No | Raw permissions bitfield string (e.g. "8" for Administrator) |