Check policy
check_policyCheck whether a read, write, deploy, env_change, delete, destructive_sql, or purchase action is allowed, blocked, or requires approval for a provider in an environment—before executing anything.
Instructions
Ask whether a capability (read/write/deploy/env_change/delete/destructive_sql/purchase) is allowed, blocked, or requires approval for a provider in an environment — WITHOUT executing anything.
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": {
"environment": "<environment>",
"provider": "<provider>",
"capability": "<capability>"
},
"name": "check_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| live | No | Treat as a live/irreversible action (e.g. Stripe live) | |
| project | No | ||
| provider | Yes | ||
| capability | Yes | ||
| environment | Yes |