check_budget
Verify a purchase is within budget before payment, returning a hold_id to settle the transaction later.
Instructions
Check if a purchase is within budget. Call BEFORE making a payment. Returns a hold_id to settle after.
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": {
"budget_id": "<budget_id>",
"amount_cents": "<amount_cents>",
"vendor": "<vendor>"
},
"name": "check_budget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vendor | Yes | Who you are paying (e.g. "exa.ai") | |
| budget_id | Yes | Budget ID from create_budget | |
| amount_cents | Yes | Amount in cents (e.g. 700 for $7.00) |