calculate_compound_interest
Compound interest calculator
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>",
"annualRatePercent": "<annualRatePercent>",
"years": "<years>"
},
"name": "calculate_compound_interest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| years | Yes | Number of years, for example: 30. | |
| frequency | No | Frequency: one of annually, semiannually, quarterly, monthly, daily. | |
| principal | Yes | Starting amount owed or invested as a plain number, for example: 250000. | |
| startDate | No | Optional start date, as YYYY-MM-DD. Adds startDate and maturityDate (the date the future value is reached). It only labels the timeline; the amounts do not change. | |
| annualRatePercent | Yes | Yearly interest rate in percent, for example: 6.5 for 6.5%. |