Mortgage-calculator
mortgage-calculatorFull Description
Use this for mortgage planning. It pulls live FRED rates, lets you adjust assumptions, and visualizes payments and amortization. It will also open for general prompts (e.g., 'calculate my mortgage') and start with sensible defaults if no numbers are provided. Do not use for unrelated financial products like auto loans or credit cards.
Parameters (0 required, 6 optional)
down_payment_valuenumberDown payment in dollars (not percent). If the user says '20% down' and home_value is known, compute value = home_value * 0.20. Accept '$25,000 down', '25k down'.
home_valuenumberHome purchase price (a.k.a. home price, house price, property price, purchase price, list price). Extract dollar amounts like '$500,000', '500k', '0.5m'.
loan_typestringLoan program type. Choose one of: conventional, FHA, VA, USDA. Natural language hints: 'FHA loan', 'VA mortgage'.
conventionalFHAVAUSDArate_aprnumberInterest rate APR as a percentage number, e.g., 6.5 for 6.5%. Extract from phrasing like 'rate 5.75%', 'APR 6.2', 'at 6%'.
term_yearsnumberLoan term in years. Extract from phrases like '30-year fixed', '15 yr', '20 year'.
zip_codestringOptional ZIP/postal code. Prefer 5-digit US ZIP if present in the user text.