get_cash_flow
Get income, expenses, and net cash flow for a period with configurable granularity (monthly/biweekly/weekly). Returns period-by-period breakdown plus totals with savings rate.
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": {
"startDate": "<startDate>",
"endDate": "<endDate>"
},
"name": "get_cash_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endDate | Yes | Period end date (ISO 8601). Required. | |
| accountId | No | Filter by specific account ID | |
| startDate | Yes | Period start date (ISO 8601). Required. | |
| categoryIds | No | Filter by category IDs | |
| granularity | No | Time granularity. Default: monthly | |
| alignToPayday | No | Cut periods at the configured payday instead of calendar months. Default: false |