list_roles
Retrieve all Discord server roles with IDs, colors, positions, and permission summaries. Use the server ID to inventory roles and review permissions quickly.
Instructions
List all roles in a server with ID, color, position, and permission summaries
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": "list_roles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guildId | No | Discord server ID (defaults to DISCORD_GUILD_ID) |