Policy Gate
policy_gateApply treasury policy to a proposed action and return allow, deny, or allow-with-limits. Paid via x402 or API key credits. Free tier: 10 policy gate calls/day per client.
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": {
"actor": "<actor>",
"action": "<action>",
"policy": "<policy>"
},
"name": "policy_gate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor | Yes | Actor metadata for the agent proposing the action. | |
| action | Yes | Action payload to evaluate. Additional action-specific fields are accepted as passthrough. | |
| policy | Yes | Policy pack input, including policy_id and any policy-specific override values. | |
| context | No | Optional execution context such as chain state, balances, or treasury metadata. | |
| request_id | No | Optional caller-supplied request identifier for tracing and receipts. |