mortgage_calculator
Estimate monthly mortgage payments and total interest for any loan amount, rate, and term. Optionally include monthly income to calculate your debt-to-income ratio.
Instructions
Estimate a monthly mortgage payment and total interest. Currency-agnostic. Optionally pass monthly_income for a debt-to-income ratio.
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>",
"term_years": "<term_years>"
},
"name": "mortgage_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| principal | Yes | Loan amount | |
| term_years | Yes | Loan term in years (1–50) | |
| annual_rate | Yes | Annual interest rate, as a decimal (0.065) or percent (6.5) | |
| monthly_income | No | Optional — enables a debt-to-income ratio |