List or get budget months
list_budget_monthsList all budget months or read one month's totals and per-category budgeted versus spent amounts. Use it to review envelope or tracking budgets by month.
Instructions
List the budget months, or read one month's budget when month is given. Use it for budgeted versus spent per category; for actual spending totals use summarize_transactions, for ids use list_entities, for individual transactions use search_transactions. To change a budgeted amount use manage_budget_months.
month: optional, YYYY-MM; the only input, any other property is refused by name.
Returns { result: [YYYY-MM, ...] }, the budget months and nothing else, when month is omitted.
Fields: totalSpent sums expense transactions (negative for spending); totalBalance sums the category balances. On an envelope budget totalBudgeted is the expense budgets summed with the sign reversed (negative when money is budgeted), toBudget is what is left to budget and forNextMonth the amount held; on a tracking budget totalBudgeted is a plain positive sum and the other two are absent.
Returns { result } holding that month's budget when month is given: totals (totalIncome, totalBudgeted, totalSpent, toBudget, forNextMonth, totalBalance) and categoryGroups; an expense category carries budgeted, spent and balance, an income category received; amounts are integer cents.
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": "list_budget_months"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| month | No | Month as YYYY-MM, one the budget has. Omit it to list every month. |