Calculate compound interest
calculate_compound_interestRead-onlyIdempotent
Compound-interest savings with regular and one-time contributions, explicit tax, calendar dates and capitalization. No investment performance promise.
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>",
"term": "<term>",
"startDate": "<startDate>",
"tax": "<tax>"
},
"name": "calculate_compound_interest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tax | Yes | ||
| rate | Yes | ||
| term | Yes | ||
| lumps | No | ||
| regular | No | ||
| termUnit | No | months | |
| principal | Yes | ||
| startDate | Yes | ||
| compounding | No | monthly |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| source | Yes | ||
| trace_id | Yes | ||
| retrieved_at | Yes | ||
| schema_version | Yes |