guild_get_vanity_url
Retrieve a Discord guild's vanity invite code and usage count to display its configured discord.gg shortcut, or confirm none is set when the code is null.
Instructions
Purpose: Get the guild vanity URL invite (Community/Partner perk).
When to use: - Display the configured discord.gg/<code> shortcut and how many times it has been used.
Returns: {code, uses}. code is null if no vanity URL is configured.
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": {
"guild_id": "<guild_id>"
},
"name": "guild_get_vanity_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guild_id | Yes | Guild to query |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||