discord_list_roles
List a Discord server's roles from highest to lowest, including IDs, colors, and flags, to locate the role ID required for member role assignment.
Instructions
List a server's roles from highest to lowest, with IDs, colors and flags.
Use to find role_id for discord_set_member_role. Permission bitfields are in the JSON output.
Returns: Markdown table (name, ID, color, hoisted, mentionable, managed) or JSON list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guild_id | No | Server (guild) ID. Omit to use DISCORD_GUILD_ID from .env. | |
| response_format | No | 'markdown' for reading, 'json' for full structured data. | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |