set_user_roles
Replace the role list assigned to a user with a new set of roles. Specify the user ID and the list of role IDs to update permissions.
Instructions
Replace role list for a user
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>",
"body": "<body>"
},
"name": "set_user_roles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Path parameter: id | |
| body | Yes | User roles |