Optimal Spend
optimal_spendSolve for the MOST the user can sustainably spend per year in retirement while keeping a target probability (default 85%) that the money lasts. Use when the user asks 'how much can I spend', 'what's a safe withdrawal', 'how much can I afford in retirement', or 'what's the most I can take out'. Unlike a projection you feed a spend into, this SOLVES for the spend number via simulation over realistic historical market paths. Quote the annual and monthly figure and the target success rate; present it as an educational estimate, not advice.
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": {
"currentAge": "<currentAge>",
"currentBalance": "<currentBalance>",
"targetRetireAge": "<targetRetireAge>"
},
"name": "optimal_spend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| currentAge | Yes | ||
| ssStartAge | No | ||
| inflationPct | No | ||
| annualSavings | No | ||
| ssMonthlyAt67 | No | ||
| currentBalance | Yes | Current retirement portfolio balance. | |
| targetRetireAge | Yes | ||
| targetSuccessRate | No | Desired probability the plan lasts, 0.5–0.99. Default 0.85. |