Skip to content

Adding support for enums in transform_schema (structured outputs)#1178

Open
Natooz wants to merge 1 commit intoanthropics:mainfrom
Natooz:json-schema-enums
Open

Adding support for enums in transform_schema (structured outputs)#1178
Natooz wants to merge 1 commit intoanthropics:mainfrom
Natooz:json-schema-enums

Conversation

@Natooz
Copy link

@Natooz Natooz commented Feb 13, 2026

Anthropic's Structured Outputs supports enums, yet the transform_schema sdk method which ensures compliance with the supported JSON schema features/structure doesn't handle enums and currently "render" them in the description field.

@Natooz Natooz requested a review from a team as a code owner February 13, 2026 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant