change_role_privilege
Preview and then add or remove a single native Dataverse role privilege at an explicit depth, with acknowledgements and no inferred effective access.
Instructions
Preview then add or remove one native role privilege with an explicitly supported depth. Uses current CSDL, rereads the role privilege, requires both acknowledgements and does not infer effective access. Existing different depths must be removed separately.
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>",
"privilege_id": "<privilege_id>",
"action": "<action>"
},
"name": "change_role_privilege"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | ||
| action | Yes | ||
| dry_run | No | ||
| role_id | Yes | ||
| privilege_id | Yes | ||
| expected_hash | No | ||
| environment_profile | No | Optional named environment profile for this call; omit to use the configured default. | |
| allow_unprotected_write | No | ||
| allow_role_privilege_change | No |