suggest_contract_fix
Validate a JSON payload against a Zod schema and get suggested fixes for each violation, explaining why validation fails and how to correct it.
Instructions
Validate a JSON payload against a Zod schema and suggest fixes for each violation. Use to answer: why does this payload fail validation, and how do I fix it?
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | Yes | JSON string of the failing payload | |
| schema_code | Yes | Zod schema code |