Calculate Compound Interest
calculate_compound_interestCompute compound interest growth A=P(1+r/n)^(nt). Use for savings, retirement projections, investment forecasting. Returns final amount, total interest, and yearly 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>",
"annual_rate": "<annual_rate>",
"years": "<years>"
},
"name": "calculate_compound_interest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| years | Yes | Investment duration in years | |
| principal | Yes | Initial amount | |
| annual_rate | Yes | Annual interest rate in % | |
| compounds_per_year | No | Compounding frequency per year |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | Computed result (fields depend on the tool). | |
| source | No | Legal or official source. | |
| formula | No | Method used. | |
| reference_url | No | macalculatriceenligne.com page to share. |