calculate_monthly_payment
Compute the fixed monthly payment for a mortgage from principal, annual interest rate, and loan term in years.
Instructions
Calculate the fixed monthly payment for a mortgage.
Args: principal: Loan amount in dollars (e.g., 350000). annual_interest_rate: Annual interest rate as a percentage (e.g., 6.5). loan_term_years: Loan term in years (e.g., 30).
Returns: JSON object with the monthly_payment field.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| principal | Yes | ||
| loan_term_years | Yes | ||
| annual_interest_rate | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |