List roles
list_rolesLists all roles in a Discord guild in hierarchy order, converting permission bitfields into readable names for planning access.
Instructions
List every role in a guild, highest first, with permission bitfields decoded to names.
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": "list_roles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guild_id | Yes |