underwriter-execute
Execute Underwriter API actions for loan products and applications. Supports list, create, previewSchedule, and versioning with mutation confirmation and audit reasons.
Instructions
Execute Underwriter API actions. Use underwriter-discover first to inspect bearer-auth requirements for protected routes, loan product path/query contracts, and the schedule preview payload where decimal amounts are encoded as strings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON request body for create/update/simulation actions. | |
| action | Yes | Underwriter action to perform (e.g. "list", "create", "previewSchedule", "createVersion"). | |
| headers | No | Optional allowlisted headers from the action contract. Configured UNDERWRITER_AUTH_TOKEN remains authoritative. | |
| resource | Yes | Underwriter resource name (e.g. "jurisdictions", "loan-products", "loan-applications", "examples"). | |
| pathParams | No | Path parameters as key-value pairs. | |
| queryParams | No | Query parameters for list/filter actions. | |
| mutationReason | No | Human-readable audit reason required for mutating live API actions. | |
| confirmMutation | No | Required as true for POST, PUT, PATCH, or DELETE live API actions. |