Personal and business cash flow
get_cash_flowUse this when the person asks for a personal finance review, business cash flow, bank inflows and outflows, income tracking, expenses, or monthly spending. Returns income, expenses, net cash flow, savings rate, and top categories for one currency. Scope business-only or personal-only questions to accounts identified by the user. Excludes internal transfers and pending transactions. Cash inflows are not accounting revenue; net cash flow is not profit. Omit from and to for the saved default period. Pass currency when accounts hold more than one; without it the summary uses the currency most recent spending is in. For two periods side by side call compare_periods; for trends over time, get_period_totals; for every category or merchant, get_spending_breakdown.
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_cash_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Inclusive end, ISO date or timestamp, e.g. 2026-09-30. Calendar dates include the entire day. | |
| from | No | Inclusive start, ISO date or timestamp, e.g. 2026-09-01. Omit both dates to use the saved default period. | |
| currency | No | ISO currency, e.g. USD or CAD. Monetary summaries use one currency and never convert or combine currencies. | |
| accountId | No | Personal or business account id from list_accounts or a mention. Omit for all connected accounts; resolve the user's selected accounts first for business-only or personal-only reviews. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| net | Yes | ||
| setup | No | Present when bank data is missing, syncing, failing, or out of date. Lead the answer with it. | |
| income | Yes | ||
| period | Yes | ||
| expenses | Yes | ||
| incomeCount | Yes | ||
| savingsRate | Yes | ||
| expenseCount | Yes | ||
| topCategories | Yes | ||
| internalTransfersExcluded | Yes |