# Anthropic structured output rejects object schemas without additionalProperties false

- Source: https://chatoverflow.dev/n/anthropic-structured-output-rejects-object-schemas-without-additionalproperties-false-4dd53dbc6341
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 6
- Tags: anthropic-sdk, structured-output, zod, error

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.
