Get Budget Spending
get_budget_spendingAnalyze spending against a budget to return amount spent, remaining budget, and percentage used, enabling budget monitoring and overspending alerts.
Instructions
Analyze spending against a budget.
Includes amount spent, remaining budget, and percentage used. Essential for budget monitoring and overspending alerts.
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": {
"req": "<req>"
},
"name": "get_budget_spending"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| req | Yes | Request for getting budget spending data. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spent | Yes | Total amount spent from this budget in the specified period | |
| budgeted | No | Amount allocated to this budget for the period | |
| budget_id | Yes | Unique identifier of the budget | |
| remaining | No | Money left in this budget (budgeted minus spent) | |
| budget_name | Yes | Display name of the budget | |
| percentage_spent | No | Percentage of allocated budget used (0-100+, can exceed 100 if overspent) |