Calculate mortgage payment
calculate_mortgage_paymentMonthly principal and interest and total interest for a fixed-rate loan. Without a rate it uses this week's Freddie Mac average for 30-year or 15-year terms, and compares it with the average a year earlier. Taxes, insurance and PMI are not included.
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": {
"loan_amount": "<loan_amount>"
},
"name": "calculate_mortgage_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rate | No | Annual rate in percent. Default: the latest Freddie Mac average for the term. | |
| term_years | No | Term in years. Default 30. | |
| loan_amount | Yes | Loan amount in dollars, for example 400000. | |
| compare_rate | No | A second rate to compare. Default: the Freddie Mac average a year earlier. |