generate_policy
Convert natural-language RBAC intent into a Sytadel PolicySet JSON. Provides policy details, warnings, and cost without applying it.
Instructions
Compile a natural-language RBAC intent (e.g. "OWNER can do anything, MEMBER can only GET /vaults, default deny") into a Sytadel PolicySet JSON. Returns policy, warnings, cost, tokens, latency. Read-only: the compiled policy is NOT applied — call PUT /policies/:tenantId separately to enforce it.
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": {
"intent": "<intent>"
},
"name": "generate_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| intent | Yes |