list_roles
Retrieve all roles in a Discord server with their IDs, names, permissions, and positions to simplify role administration.
Instructions
List all roles in a Discord server with their IDs, names, permissions, and positions.
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 |
|---|---|---|---|
| guild_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |