Extract access control
extract_access_controlExtract roles, permissions, guards, policies, and path-level access rules from a codebase to generate a role–feature access matrix and surface missing or inconsistent checks.
Instructions
Roles, permissions, guards/policies, path-level rules, backend and frontend access checks, and the role × feature access matrix.
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": {
"root": "<root>"
},
"name": "extract_access_control"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | Yes | Absolute path of the project to analyse (a mounted path such as /workspace when running in Docker). | |
| format | No | Output format (default markdown). | |
| refresh | No | Re-scan the project instead of using the cached analysis. | |
| include_checks | No | Include the raw list of inline checks (can be long). |