AxFieldOptions Generated TypeScript API reference. typescript api api/reference build/apidocs/Interface.AxFieldOptions.md interface AxFieldOptions

AxFieldOptions

Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/dsp/standardSchema.ts#L70

Per-field companion options for Standard Schema (zod/valibot/arktype) inputs and outputs. These encode ax-specific hints that schema libraries don’t represent natively.

Properties

PropertyTypeDescription
cache?booleanMark this input field as a prefix-cache breakpoint (Anthropic-style).
internal?booleanMark this output field as internal scratchpad (stripped from the final result).
Docs