check_permission
Ask whether a given tool call would be allowed, require approval, or be blocked, without actually making the call. Returns the resolved permission verdict and the level it resolved from. Asking about a tool that isn't registered in the org records it there as a draft for an admin to review.
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": {
"tool_name": "<tool_name>"
},
"name": "check_permission"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org | No | The oakallow organization external id (for example org_oak_…) the call targets. Required when the account has more than one org; optional when it has exactly one. | |
| method | No | Optional method name. | |
| tenant_id | No | Optional tenant external id. | |
| tool_name | Yes | The tool to evaluate. | |
| resource_id | No | Optional resource external id. |