Frontal is live.Read the announcement

Structured output

Require a Codex turn to return JSON that conforms to a schema.

Pass outputSchema to thread.run() when a caller needs machine-readable output. The SDK forwards a JSON Schema to the Codex CLI.

The final response is serialized according to the requested schema. Keep schemas small and explicit, and validate the result at your application boundary.

Updated Aug 31, 2026

© 2026 Frontal Labs, Inc. or its affiliates.

We measure site traffic without cookies by default. Accept to let us remember your visit across sessions, which makes our analytics more accurate.