Future Value
workflow.run_future_valueFuture value of a starting sum, regular contributions, or both, grown at a fixed rate: what savings or an investment reach after a number of years. annualRate is a fraction (0.07 = 7%) split into periodsPerYear equal periods the nominal way (rate per period = annualRate / periodsPerYear); years x periodsPerYear is the number of periods, which must be whole when a payment is given. Contributions are level and made at the end of each period, or at the start with paymentTiming "begin". A fixed assumed rate, not a forecast and not a market-return simulation (for a range of outcomes use workflow.run_monte_carlo). Edge cases: annualRate from -1 to 100 as a fraction (0.05 is 5%) with the rate per period above -100%; years 0 to 1000; periodsPerYear a whole number 1 to 365 (default 1); paymentTiming end (default) or begin; when a payment is given, years times periodsPerYear must be a whole number. A result too large to represent is an error. Not covered: a rate that changes over time, uneven or growing contributions, inflation, taxes and fees, and any guarantee that the rate is earned. Use when user asks "what will $10,000 plus $500 a month be worth in 30 years at 7%?" or "how much will I have after 10 years of saving?". Returns: futureValue, fvOfPresentValue, fvOfPayments, growthFactor, ratePerPeriod, periods, totalContributions, interestEarned, effectiveAnnualRate.
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": {
"annualRate": "<annualRate>",
"years": "<years>"
},
"name": "workflow.run_future_value"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| years | Yes | Length in years, 0 to 1000 (fractions allowed for a lump sum; with payments years x periodsPerYear must be a whole number) | |
| payment | No | Level contribution per period. Default 0 | |
| annualRate | Yes | Annual growth rate as a fraction (0.07 = 7%); may be zero or negative, but the rate per period must stay above -100% | |
| presentValue | No | Starting amount, in any currency. Default 0 | |
| paymentTiming | No | "end" (default) or "begin" (each contribution one period earlier) | |
| periodsPerYear | No | Compounding and contribution periods per year, 1 to 365. Default 1 (12 = monthly) |