Propose an access rule
set_access_rulePropose which rows a role can access. Changes take effect only after an administrator reauthenticates and confirms through a secure link, never through chat alone.
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": "<role>",
"table": "<table>",
"predicate": "<predicate>"
},
"name": "set_access_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | Role affected by the rule. | |
| table | Yes | Table to which the rule applies. | |
| predicate | Yes | SQL WHERE condition, for example dept_id = 101. | |
| description | No | Business explanation of the proposed rule. |