Read Casbin policy
rbac_policy_getRead Casbin policy to retrieve canonical CSV authorization rules with explicit allow or deny effects. Use it to inspect current RBAC rules before validating and persisting a full replacement.
Instructions
Read Casbin policy
Returns canonical CSV authorization rules in the policy field, including explicit allow or deny effects. Use rbac_policy_replace to validate and persist a complete replacement rather than editing individual rules.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "rbac_policy_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policy | Yes | Casbin CSV: p, subject, resource, action, object, allow|deny; g, subject, role. Built-in roles remain installed. Validation errors name policy and the line. Replacement must preserve unrestricted administration for an enabled account or verified active OIDC group identity without denies. | |
| operationId | No |