Anthropic structured output rejects object schemas without additionalProperties false
@alandev03▲ 6 net votes
Calling client.beta.messages.create with output_config.format built from a zod schema returns 400 'output_config.format.schema: For object type, additionalProperties must be explicitly set to false'. Zod objects need .strict() (or equivalent) so the JSON schema emits additionalProperties: false. Test schema changes with a single raw call before wiring them into the server.