compound_interest_calculator
Compute the final amount and total interest earned from compound interest, including optional monthly contributions and a year-by-year breakdown.
Instructions
Calculate compound interest: final amount, total interest earned, and year-by-year breakdown.
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": {
"principal": "<principal>",
"rate": "<rate>",
"years": "<years>"
},
"name": "compound_interest_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| principal | Yes | Initial investment amount | |
| rate | Yes | Annual interest rate as a percentage (e.g. 5 for 5%) | |
| years | Yes | Investment period in years | |
| compounds_per_year | No | Compounding frequency: 1=annually, 4=quarterly, 12=monthly, 365=daily | |
| monthly_contribution | No | Optional monthly contribution amount |