Skip to main content

Interface: LowerZodOptions

Defined in: packages/agentos/src/orchestration/compiler/SchemaLowering.ts:31

Options for lowerZodToJsonSchema.

Properties​

sizeConstraints?​

optional sizeConstraints: boolean

Defined in: packages/agentos/src/orchestration/compiler/SchemaLowering.ts:38

Emit the schema's size checks as JSON Schema keywords: minLength / maxLength on strings, minItems / maxItems on arrays, minimum / maximum (and the exclusive forms) on numbers. Default false: the default output is unchanged for every caller that hands the schema to a provider's structured-output mode.