check_spend
Pre-flight policy check: would this spend be allowed under the wallet's policy right now? Auth required.
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": {
"wallet": "<wallet>",
"amount_usd": "<amount_usd>",
"token": "<token>"
},
"name": "check_spend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | token symbol, e.g. USDC | |
| wallet | Yes | wallet address | |
| amount_usd | Yes | spend amount in USD, decimal string | |
| counterparty | No | optional counterparty address to screen |