roles_get
Get detailed information about a specific role by ID, including hierarchy level, parent role, and assignment counts. Use after listing roles to view full role details.
Instructions
Get detailed information about a specific role by ID.
Retrieves complete information about a single role including hierarchy, assignments, and settings.
Workflow tips:
Use roles/list to find role IDs first
Response includes parent role and hierarchy level
Shows assignment counts
Cached for 15 minutes for better performance
Common use cases:
Get role details: { "id": 123 }
Check role hierarchy
View role assignment count
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": {
"id": "<id>"
},
"name": "roles_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the role to retrieve |