Get exact Discord role
get_roleFetch a specific Discord role by guild and role ID to validate and normalize its colors, hierarchy, permissions, and managed-role status for audits.
Instructions
Fetch one exact Discord role by guild and role snowflake through Discord's exact role endpoint, then validate and normalize its colors, hierarchy fields, permissions, 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>",
"roleId": "<roleId>"
},
"name": "get_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| roleId | Yes | ||
| guildId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| schemaVersion | Yes |