list_roles
Retrieve roles sorted highest-to-lowest in hierarchy, showing each role's position and whether the bot can manage it, to understand the current role order before making changes.
Instructions
Lists roles sorted highest-to-lowest in the hierarchy (as they appear in Discord's UI), with each role's position and whether the bot can manage it. Call this before reordering or placing roles so you can reason about the current hierarchy.
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 | Guild ID or name. Defaults to the currently selected guild. |