mortgage_calculator
Calculate monthly mortgage payments, total interest, and amortization based on loan principal, annual interest rate, and term in years.
Instructions
Calculate monthly mortgage payments, total interest, and amortization.
Parameters:
principal — Loan principal amount.
rate — Annual interest rate (e.g. 5.5 for 5.5%).
years — Loan term in years.
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": "mortgage_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| principal | Yes | ||
| rate | Yes | ||
| years | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |