portfolio_cashflow
A portfolio's cashflow against its baselines, per month, in the organization's default currency. baseline: each project's chosen baseline (its latest, or baselineId for that one project), its tasks' planned cost spread over their baseline dates. forecast: expected and committed cost lines on their dates plus the cost still to spend on unfinished tasks over their remaining dates. actual: spent cost lines, approved expense claims and timesheet labour on their days. variance is actual plus forecast minus baseline (positive is above the baseline); the cumulative figures include what fell before the range (beforeRange). unscheduled is task cost with no dates to place it. A project whose cost the caller may not read is listed with costHidden and left out of every figure (costHiddenCount). unconvertedCurrencies names currencies with no rate, counted at face value. from and to are months, YYYY-MM, at most 120 apart; omitted, they span the projects' dates. Each project carries its totals; pass includeProjectMonths for its months too. Requires the portfolios feature and org.portfolio.manage.
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": {
"portfolioId": "<portfolioId>"
},
"name": "portfolio_cashflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last month, YYYY-MM. | |
| from | No | First month, YYYY-MM. | |
| baselineId | No | A baseline of one of the portfolio's projects, used for that project instead of its latest. | |
| portfolioId | Yes | ||
| includeProjectMonths | No | Each project's figures per month as well as its totals. |