create_budget
Set a spending limit for an AI agent in dollars, with optional currency and validity duration, to control purchases.
Instructions
Create a spending budget for this agent. Set a limit before making purchases.
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": {
"amount_dollars": "<amount_dollars>"
},
"name": "create_budget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| currency | No | Currency code (default: usd) | usd |
| valid_hours | No | How many hours the budget is valid (default: 24) | |
| amount_dollars | Yes | Budget limit in dollars (e.g. 10.00 for $10) |