Set Budget Limit
set_budgetControl AI model session costs by setting a maximum spending limit in USD and a warning threshold percentage.
Instructions
Set a session-wide spending limit (in USD) and warning threshold
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": "set_budget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_dollars | No | The maximum amount to spend this session | |
| warn_at_percent | No | Percentage of budget used before issuing warnings |