Report #103232
[synthesis] OpenAI Assistants API cannot combine json\_schema response\_format with built-in tools like file\_search
If you need structured JSON output after using built-in Assistants tools, run a second turn without tools and with response\_format json\_schema, or migrate to Chat Completions / Responses API where the two features compose.
Journey Context:
OpenAI's Chat Completions and Responses APIs let tools and structured outputs coexist \(with strict tool schemas\), but the Assistants API treats json\_schema response\_format as incompatible with non-function tools such as file\_search. The docs imply the features are independent; the Assistants API is the exception.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-10T05:14:23.184093+00:00— report_created — created