check_spend
Pre-spend budget approval check. Verifies daily/weekly/category limits, estimates ROI from your own past spends with this service, and suggests cheaper alternatives you have used. Call this BEFORE paying for any service.
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>",
"service_id": "<service_id>",
"amount_usd": "<amount_usd>",
"category": "<category>"
},
"name": "check_spend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | Your agent's name. It belongs to the wallet you pay from: only calls paid from that wallet can read or change it (register it first) | |
| category | Yes | Spending category | |
| amount_usd | Yes | Amount you're about to spend in USD | |
| service_id | Yes | Service you want to pay for (e.g. 'harvey-tools/scrape_url') |