Compound Interest
compound_interestProjects the future value of a starting balance and monthly contributions with monthly compounding. Use to estimate investment growth over a specified time horizon.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "compound_interest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| years | No | Investment horizon in years, converted to a rounded number of months; defaults to 0. | |
| principal | No | Starting invested balance in dollars; defaults to 0. | |
| annualRatePct | No | Annual return percentage divided by 12 for monthly compounding, expressed as 7 for 7%, not 0.07; defaults to 7. | |
| monthlyContribution | No | Contribution in dollars at the end of each month; defaults to 0. |