Remove Role
remove_roleRevoke a specific role from a Drupal user to control their permissions. Specify the user ID and role name to remove access.
Instructions
Remove a role from 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": {
"uid": "<uid>",
"role": "<role>"
},
"name": "remove_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | ||
| role | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||