get_cashflow_forecast
Use this when the user asks how much cash they expect to receive or pay in each currency over the coming weeks, based on how their customers and suppliers actually settle. Projects the user's OWN expected net cashflow per currency over the next N weeks (default 8), from their OWN settlement history. Do not use for exchange-rate predictions: this is deterministic statistics on settlement behaviour and makes no FX-rate forecast. The projection covers expected settlement of existing open invoices (due date shifted by how late each customer usually pays), plus projected recurring and seasonal flows. Returns a per-currency net with a P10-P90 band, named drivers, and the walk-forward accuracy of the settlement model (inside-band % and median error in days). sufficient_history is false when the settlement history is too short for a reliable band.
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_cashflow_forecast"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| currency | No | Optional 3-letter currency code to filter to one currency. | |
| horizon_weeks | No | Projection horizon in weeks (1-52, default 8). Pass the period the user names: 13 for three months, 26 for six, 52 for twelve. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Tool-specific payload. Null when connection_status.state is 'setup_required'. | |
| connection_status | Yes |