structured-outputs changedbuild-with-claude/structured-outputs
Nearest release: v2.1.310, published 3 hours after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+1added
Lines−1removed
From line
329
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits25to this page, all time
The whole hunk
from line 329, old and new numbered
/
from line 329
329329 ```
330330
331331 <Note>
332 Passing a struct as the schema is in beta in Go, so this example uses `client.Beta.Messages.New`. To use the GA `client.Messages.New`, pass a JSON schema as shown in [Using a raw JSON schema](https://platform.claude.com/docs/en/build-with-claude/structured-outputs#using-a-raw-json-schema).
332 Passing a struct as the schema is in beta in Go, so this example uses `client.Beta.Messages.New`. To use the stable `client.Messages.New`, pass a JSON schema as shown in [Using a raw JSON schema](https://platform.claude.com/docs/en/build-with-claude/structured-outputs#using-a-raw-json-schema).
333333 </Note>
334334
335335 The SDK generates and transforms the JSON schema from the struct and unmarshals the response into it.
No line in this hunk matches that.