get_role
Retrieve a role by ID to get its permissions mapping, showing which resource:action pairs are granted.
Instructions
Retrieve a single role by ID. Response includes a permissions object mapping resource:action keys (e.g. users:manage, jobs:read) to booleans indicating whether the role grants each one.
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": "get_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Role ID |