MessagesOutputConfigFormat - Python SDK

MessagesOutputConfigFormat method reference

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]]✔️N/A
typecomponents.MessagesOutputConfigTypeJSONSchema✔️N/A