Portfolio Longevity
portfolio-longevityHow many years a balance lasts while withdrawing from it: the balance grows each year, then the withdrawal (optionally stepping up) is taken. Returns the depletion year, or sustainable=true when it outlasts 200 years.
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": {
"balance": "<balance>",
"annualWithdrawal": "<annualWithdrawal>",
"annualRatePct": "<annualRatePct>"
},
"name": "portfolio-longevity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| balance | Yes | Starting balance. | |
| annualRatePct | Yes | Annual portfolio growth in percent. | |
| annualWithdrawal | Yes | Amount withdrawn in the first year. | |
| withdrawalGrowthPct | No | Optional. Yearly step-up of the withdrawal in percent (default 0). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| years | No | Depletion year (null if sustainable). | |
| sustainable | No | True if it outlasts 200 years. |