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 use cookie-free analytics by default. Accept cookies to help us track your visits across sessions for more accurate data.