Shared Budget
budget_spendShared Budget: ask before each purchase. ALLOW records it against the team cap (returns spend_id + what's left); DENY or ESCALATE records nothing, with the reason. Idempotent by idempotency_key, so retries never double-count. Header X-Budget-Key. Honest limit: two spends in the same instant can both pass; per_tx_max_usd bounds that. By OMENZ. (MCP calls run in AYNE, the free playzone; production: POST https://www.omenz.org/api/tollbooth/v1/budget/spend, $0.002 via x402.)
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_usd": "<amount_usd>"
},
"name": "budget_spend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | full https URL to check | |
| memo | No | memo | |
| agent | No | agent | |
| budget_id | Yes | budget id | |
| recipient | No | recipient | |
| amount_usd | Yes | amount usd | |
| idempotency_key | No | idempotency key |