get_money_flow
Generate Sankey chart data mapping income sources to spending category groups for a YNAB plan and month, returning nodes and links for flow visualizations.
Instructions
Build Sankey chart data showing money flow from income sources to spending category groups.
Returns nodes and index-based links suitable for Sankey/flow visualizations.
Args: plan_id: The plan ID (use list_plans to find available IDs) month: Month in YYYY-MM-DD format (first of month, e.g. '2026-03-01') or 'current'
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": {
"plan_id": "<plan_id>"
},
"name": "get_money_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| month | No | current | |
| plan_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |