Expand description
Input schema generation: draft 2020-12, no oneOf/anyOf and no nullable type arrays, so the
schemas survive Codex’s schema sanitiser.
Functions§
- flatten_
unions 🔒 - Removes the unions schemars emits (nullable types,
nullalternatives, string enums with documented variants), which Codex would flatten. Optional fields stay out ofrequiredinstead. - input_
schema - The input schema of an args struct, with every subschema inlined so no
$refor$defsdepends on client support. - untyped_
value - Schema for patch
value: deliberately untyped, since block schemas would push tool schemas past client size limits.