spend_check
Check a proposed agent spend against the agent's budget policy. $0.01 per call — USDC on Solana via x402 (over MCP: call without payment to get the PaymentRequired challenge, then retry with the payment at _meta["x402/payment"]). HTTP equivalent: POST https://exchangerebel.com/toll/spend/check.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "spend_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | No | string | |
| category | No | string (optional) | |
| recipient | No | string (optional) | |
| amount_usd_cents | No | integer |