Skip to main content
The Python SDK and docs are currently in beta. Report issues on GitHub.
A schema to specify Claude’s output format in responses. See structured outputs.

Fields

FieldTypeRequiredDescription
schema_Dict[str, Nullable[Any]]:heavy_check_mark:N/A
typecomponents.MessagesOutputConfigTypeJSONSchema:heavy_check_mark:N/A