structured-outputs changedbuild-with-claude/structured-outputs
Nearest release: v2.1.328, published 7 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+9added
Lines−5removed
From line
2,864
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits35to this page, all time
The whole hunk
from line 2864, old and new numbered
/
from line 2864
28642864
28652865<Accordion title="Supported features">
28662866 * All basic types: object, array, string, integer, number, boolean, null
2867 * `enum` (strings, numbers, booleans, or nulls only, no complex types). For a capitalization caveat, see [Invalid outputs](https://platform.claude.com/docs/en/build-with-claude/structured-outputs#invalid-outputs).
2868 * `const`
2869 * `anyOf` and `allOf` (with limitations: `allOf` with `$ref` not supported)
2870 * `$ref`, `$def`, and `definitions` (external `$ref` not supported)
2867 * `enum` and `const` (strings, numbers, booleans, or nulls only), with a [capitalization caveat](https://platform.claude.com/docs/en/build-with-claude/structured-outputs#invalid-outputs)
2868 * `anyOf` and `allOf`, except the uses listed under “Not supported”
2869 * `$ref`, `$defs`, and `definitions`
28712870 * `default` property for all supported types
28722871 * `required` and `additionalProperties` (must be set to `false` for objects)
28732872 * String formats: `date-time`, `time`, `date`, `duration`, `email`, `hostname`, `uri`, `ipv4`, `ipv6`, `uuid`
from line 2875
28762875
28772876<Accordion title="Not supported">
28782877 * Recursive schemas
2878 * `oneOf` (use `anyOf` instead)
2879 * `not`
2880 * `anyOf` in the same schema object as keywords such as `type` or `properties` (annotations such as `title` and `description` are fine)
2881 * `allOf` with schemas that conflict (for example, different `type` values)
2882 * `allOf` with two or more schemas when one of them directly contains `$ref`, `anyOf`, or `allOf`
28792883 * Complex types within enums
28802884 * External `$ref` (for example, `'$ref': 'http://...'`)
28812885 * Numerical constraints (such as `minimum`, `maximum`, `multipleOf`)
from line 2898
28942898 * Character classes: `[]`, `.`, `\d`, `\w`, `\s`
28952899 * Groups: `(...)`
28962900
2897 **NOT supported:**
2901 **Not supported:**
28982902
28992903 * Backreferences to groups (for example, `\1`, `\2`)
29002904 * Lookahead/lookbehind assertions (for example, `(?=...)`, `(?!...)`)
No line in this hunk matches that.