On a malformed-JSON response, best handling is:
ADiscard and start the conversation over
BSwitch to a smaller model
CDrop the field from the schema
DPass the parser error back so Claude can fix the field
Answer & Solution
Correct answer: D. Pass the parser error back so Claude can fix the field
Showing Claude the parser error lets him patch the specific field and re-emit valid JSON without losing the rest of the turn.
Keep practising Claudeai Structured
Browse all Claudeai Structured questions for Claude AI, or explore more Claudearchitect topics.
Related questions