Skip to content

structuredOutputBoundary

structuredOutputBoundary<T>(schema): StructuredOutputBoundary<T>

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/runtime/structuredOutput.ts:422

Build the StructuredOutputBoundary for a schema — the one entry point every withStructuredOutput call in this project goes through. See the module doc for what it does and why.

T

ZodType<T>

The caller’s schema, used unchanged for the final validation.

StructuredOutputBoundary<T>