update-role-permissions
Update permissions for a specific role. Choose to replace all permissions or merge with existing.
Instructions
Update permissions for a specific role
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": {
"role_id": "<role_id>",
"permissions": "<permissions>"
},
"name": "update-role-permissions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| replace | No | Whether to replace all permissions (true) or merge with existing (false) | |
| role_id | Yes | The role ID (role_id) | |
| permissions | Yes | New list of permissions for this role |