feat: add AI tool access registry
This commit is contained in:
@@ -93,6 +93,13 @@ curl http://localhost:8084/api/page/schema/components
|
||||
curl -X POST http://localhost:8084/api/page/schema/validate \
|
||||
-H "Content-Type: application/json" \
|
||||
--data-binary @target/ai-runs/page-schema.json
|
||||
|
||||
# AI tools / employees / ACL
|
||||
curl http://localhost:8084/api/ai/tools
|
||||
curl http://localhost:8084/api/ai/employees
|
||||
curl -X POST http://localhost:8084/api/ai/tools/access-check \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{"employeeId":"agent-developer","toolName":"local.apply","grantedScopes":["ai:local:apply"],"targetEnv":"local","productionWrite":false}'
|
||||
```
|
||||
|
||||
## tools/
|
||||
|
||||
Reference in New Issue
Block a user