Check policy compliance (dry run)
check_policy_complianceEvaluate a planned purchase against spend policy before submission to get an auto-approve, require-approval, or deny decision plus every rule checked, with no card issued or human notified.
Instructions
Evaluate a purchase against the spend policy without submitting it. Returns the decision (auto_approve, require_approval or deny) and every rule that was checked. No card is issued and no human is pinged.
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": {
"agent_id": "<agent_id>",
"task_id": "<task_id>",
"task_goal": "<task_goal>",
"vendor_domain": "<vendor_domain>",
"amount": "<amount>",
"is_recurring": "<is_recurring>"
},
"name": "check_policy_compliance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount to spend, in major units of the currency (e.g. 15.00). | |
| task_id | Yes | Identifier of the task this purchase serves, e.g. '102'. | |
| agent_id | Yes | Stable identifier of the calling agent, e.g. 'invoice-bot'. | |
| currency | No | ISO 4217 currency code. | USD |
| reasoning | No | Optional step-by-step reasoning that led to this purchase. Stored in the audit log. | |
| task_goal | Yes | What the agent is trying to accomplish and why this purchase is needed. | |
| is_recurring | Yes | True if this creates a subscription, trial that auto-renews, or any repeat charge. | |
| vendor_domain | Yes | Merchant domain, e.g. 'pdfocr.io'. | |
| alternatives_attempted | No | Free or already-owned options the agent tried first, and why they failed. |