kavach_check_spend_policy
Evaluate an agent spend 5-tuple against Kavach KYA velocity limits, merchant allowlists, and prompt-injection guards.
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": {
"tenant_id": "<tenant_id>",
"kya_agent_id": "<kya_agent_id>",
"merchant_vpa_or_recipient": "<merchant_vpa_or_recipient>",
"amount_minor_or_units": "<amount_minor_or_units>",
"user_intent_hash": "<user_intent_hash>",
"cart_mandate_hash": "<cart_mandate_hash>"
},
"name": "kavach_check_spend_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tenant_id | Yes | ||
| kya_agent_id | Yes | ||
| intent_summary | No | ||
| user_intent_hash | Yes | ||
| asset_or_currency | No | INR | |
| cart_mandate_hash | Yes | ||
| tool_payload_summary | No | ||
| amount_minor_or_units | Yes | ||
| merchant_vpa_or_recipient | Yes |