Cagr
workflow.run_cagrCompound annual growth rate between a beginning and an ending value over a number of years: the constant yearly rate that turns one into the other, (ending / beginning)^(1 / years) - 1. A smoothed average: it hides the path and the volatility in between, and it says nothing about future growth. Both values must be positive. Edge cases: beginningValue and endingValue above zero (a start or end of zero or below has no growth rate); years above zero and at most 1000, a fraction of a year is fine. Not covered: contributions or withdrawals in between (that is not CAGR), the path and volatility between the two dates, and any forecast; CAGR smooths a bumpy path into one rate. Use when user asks "what is the CAGR of my portfolio?" or "what yearly growth takes $10,000 to $25,000 in 8 years?". Returns: cagr, totalReturn, growthMultiple, logGrowthRate (all fractions; logGrowthRate is the continuously compounded rate).
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": {
"beginningValue": "<beginningValue>",
"endingValue": "<endingValue>",
"years": "<years>"
},
"name": "workflow.run_cagr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| years | Yes | Years between them, above 0 and at most 1000 (fractions allowed, e.g. 2.5) | |
| endingValue | Yes | Value at the end (positive), same currency | |
| beginningValue | Yes | Value at the start (positive) |