get_model_contract
Get a model's machine-readable contract: required inputs with types and valid domains, cross-field constraints, sentinel-value meanings, and the government constants (with sources) the model uses. Set include_spec to also receive the full specification markdown (exact formulas, assumptions, exclusions, known issues).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model name from list_models, e.g. 'relocation' | |
| api_key | No | Worthune Pro API key (wk_…) — required for include_spec on non-sample models. | |
| include_spec | No | Also return the full spec markdown (default false). Public for the free-sample models; other models need api_key. |