List Discord roles
list_rolesRetrieves a permitted Discord guild's full role inventory with normalized colors, hierarchy, permission names, unknown permission bits, and managed-role status for audits.
Instructions
List the complete Discord role inventory for one permitted guild, bounded by Discord's documented role limit and normalized with current colors, hierarchy fields, known permission names, unknown permission bits, and managed-role classification.
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": {
"guildId": "<guildId>"
},
"name": "list_roles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guildId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| schemaVersion | Yes |