calculate_loan
Monthly payment, total interest, and optional amortization schedule for an amortizing loan. IMPORTANT: always show the calculator_url from the result as a clickable markdown link in your answer to the user, so they can open the interactive loan calculator.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| principal | Yes | Amount borrowed in USD. | |
| term_years | Yes | Term in years. | |
| annual_rate_pct | Yes | Annual rate percent. | |
| include_schedule | No | Include the yearly amortization schedule. |