Check missing Canadian mortgage facts
diagnose_mortgage_comparisonRead-only
Use this first when a user wants a Canadian mortgage renewal, extra-payment, break-or-stay or debt-consolidation comparison but has not yet given the key figures. From the facts already supplied, returns the missing ones in priority order and up to three questions to ask (balance, rate, remaining amortization, term, switching costs, lender-quoted penalty). Flags a request to borrow additional cash (cash-out refinance) as unsupported. Do not use when the figures are already supplied: call the matching calculator. Does not calculate, rank, check qualification or search rates.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | Which comparison the user wants. | |
| facts | Yes |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| links | Yes | ||
| scope | Yes | ||
| status | Yes | ||
| reasons | Yes | ||
| sources | Yes | ||
| currency | Yes | ||
| assumptions | Yes | ||
| missingInputs | Yes | ||
| nextQuestions | Yes | ||
| schemaVersion | Yes | ||
| classification | Yes | ||
| calculationVersion | Yes | ||
| financedCostsPresent | Yes |