Frontal 已上线。阅读公告

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.

更新于 2026年8月31日

© 2026 Frontal Labs, Inc. 或其关联公司。

我们默认在不使用 Cookie 的情况下统计网站流量。若您接受,我们将跨会话记住您的访问,从而让分析更准确。