check_policy
Determines if an action is allowed by policy and budget, then returns allow/ask/deny/modify/observe verdicts for AI coding agent tool calls and LLM requests.
Instructions
Check if an action is allowed by policy and budget.
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": {
"action": "<action>"
},
"name": "check_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | ||
| action | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |