List roles
list_rolesLists the roles of a Discord server the app's bot is in, highest first. Managed roles belong to bots and integrations.
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": {
"app_id": "<app_id>",
"server_id": "<server_id>"
},
"name": "list_roles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | The ID of the app, from list_apps. | |
| server_id | Yes | The ID of the server, from list_servers. |