simulate_policy
Check if a hypothetical action complies with a policy before acting. Pre-validate permissions without issuing a receipt.
Instructions
Test whether a hypothetical action would be allowed by the current policy WITHOUT actually issuing a receipt. Use this to pre-check before acting.
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_type": "<action_type>",
"terms_url": "<terms_url>"
},
"name": "simulate_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action_type | Yes | ||
| terms_url | Yes | URL of the terms | |
| action_context | No | Optional context metadata |