Budgets and spending caps
get_budgetsUse this when the person asks about their budget, spending limits or caps, how much is left to spend in a category, or whether they are over budget. Returns each cap the person set in Sprout with its period, limit, spent, remaining, percent used, and a status (on track, watch, or over), plus totals per currency, the detected pay rhythm, and categories without a cap with their average monthly spending. Monthly caps cover the calendar month, per-paycheck caps run from the last payday to the next, irregular-income caps are a share of the median income of the last three complete months. Figures are precomputed: quote them, never add or recompute. Read-only; the person sets caps on Sprout's Budgets page. When budgets is empty, the person has no caps yet.
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": "get_budgets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| setup | No | Present when bank data is missing, syncing, failing, or out of date. Lead the answer with it. | |
| today | Yes | Today in the person's time zone. | |
| totals | Yes | Sums over caps with a limit, per currency and period kind; quote these instead of adding. | |
| budgets | Yes | ||
| currency | Yes | The primary currency, which suggestions are in. | |
| payCadence | Yes | The pay rhythm detected from deposits; an estimate. | |
| suggestions | Yes | Categories without a cap and their average monthly spending. | |
| incomeBaseline | Yes | Median income of the complete months listed, which irregular-income caps take a share of. |