What Changed in Structured Output and Tool Calling After OpenAI DevDay 2026? Decisions vs text.format
DevDay did not ship a “new JSON Schema product.” The recap lead is Decisions and the Agents API with computer use. After Decisions went GA on 2026-10-22, the docs are blunt: bounded answers → Decisions; objects that follow your schema → Responses text.format; side effects → function calling. This post only splits those three JSON contracts. It does not retell workflow layers or rewrite the pre-keynote prediction piece.
Before you read
| Capability | Official home after DevDay | What you get back |
|---|---|---|
| Structured Output | Responses: text.format type json_schema; not a new API | A schema-valid object (extracted fields, UI payload) |
| Tool Calling | Responses: flat tools[]; output item function_call | name + arguments string; host executes |
| Bounded decisions | POST /v1/decisions; GA Oct 22; may include input_json | answers: predicate / choice / score; no tool execution |
| Agent loop | Decisions routes → Responses calls tools → host state | choice → facts; Call/Result still Responses |
| Programmatic Tool Calling | Since GPT-5.6; mentioned in a DevDay session, not a Structured Output replacement | A hosted V8 program calls tools with allowed_callers |
Facts through 2026-10-30: DevDay recap, Decisions GA post and guide, Responses migration / Structured Outputs / function calling docs. A-1042, T-8841, resp_8k1a are fictional.
The split changed—not “better JSON mode”
Before the keynote, many drafts treated Structured Output, Tool Calling, and Agent Workflow as one blob: one giant schema for routing, extraction, and tools. Official 2026 docs split three jobs:
- Structured Output remains Responses. Chat Completions
response_formatmoves totext.format. The DevDay recap does not list it as a launch. - Tool Calling in Responses is a flat
type/name/parametersobject; write backfunction_call_outputoncall_id. If you omitstrict, Responses tries to normalize and may fall back tostrict: false. - Bounded routing is Decisions. GA added native JSON evidence (
input_json), 400 questions, and conversation history that can include function calls. You get typed answers—not your custom business object.
What shipped: DevDay recap. How layers connect: Workflow walkthrough. Field migration: API migration.
Old request vs text.format vs flat tools vs Decisions
1. Stop stuffing route, extract, and tools into one Chat Completions request. This shape is still common and is no longer the post-DevDay main path:
{
"model": "gpt-4o",
"messages": [
{"role": "user", "content": "Extract order A-1042 as JSON."}
],
"response_format": {
"type": "json_schema",
"json_schema": {
"name": "order_extract",
"strict": true,
"schema": {
"type": "object",
"properties": {
"order_id": { "type": "string" },
"status": { "type": "string" }
},
"required": ["order_id", "status"],
"additionalProperties": false
}
}
},
"tools": [{
"type": "function",
"function": {
"name": "lookup_order",
"parameters": { "type": "object" }
}
}]
}
2. Need a schema-valid object: Responses + text.format. Official guide: tools → function calling; a structured object for the user or UI → text.format.
{
"model": "gpt-6-astra",
"input": "Jane paid order A-1042.",
"text": {
"format": {
"type": "json_schema",
"name": "order_extract",
"strict": true,
"schema": {
"type": "object",
"properties": {
"order_id": { "type": "string", "pattern": "^[A-Z]-\\d{4}$" },
"status": { "type": "string", "enum": ["paid", "open"] }
},
"required": ["order_id", "status"],
"additionalProperties": false
}
}
}
}
3. Need side effects: flat tools; validate arguments before execute. Continue with previous_response_id. Do not stringify the whole Decisions answers blob into the prompt.
{
"model": "gpt-6-luna",
"previous_response_id": "resp_8k1a",
"tools": [{
"type": "function",
"name": "lookup_order",
"strict": true,
"parameters": {
"type": "object",
"properties": {
"order_id": { "type": "string", "pattern": "^[A-Z]-\\d{4}$" }
},
"required": ["order_id"],
"additionalProperties": false
}
}],
"input": [{
"role": "user",
"content": [{ "type": "input_text", "text": "Look up A-1042 if needed." }]
}]
}
4. Need classify/route: Decisions + input_json. Keys inside data do not become messages or fetch images. The answer type stays the question type you declared.
{
"model": "gpt-6-luna",
"input": [{
"role": "user",
"content": [
{ "type": "input_text", "text": "Route using the ticket and order." },
{
"type": "input_json",
"data": {
"ticket": { "body": "Please refund the duplicate charge." },
"order": { "order_id": "A-1042", "charges": [49, 49] }
}
}
]
}],
"questions": [{
"type": "choice",
"name": "route",
"instructions": "Pick the next host action. Do not call tools.",
"choices": [
{ "value": "lookup", "description": "Call lookup_order" },
{ "value": "hold", "description": "Stop for a human" }
]
}]
}
Three paths: generate an object, request a tool, bounded answer
Treating “JSON” as one product picks the wrong API. Choose by return contract:
| You need | Use | Do not use |
|---|---|---|
| Extracted fields / UI object | Responses text.format json_schema | Decisions answers or json_object posing as schema |
| DB lookup, refund, file write | Responses function tools (strict + additionalProperties:false) | Decisions to run lookup |
| Department route / duplicate charge? | Decisions choice or predicate | A giant json_schema that emits next_action prose |
| Multi-step aggregate/filter of tool results | programmatic_tool_calling + allowed_callers | As a new Structured Output |
| Hosted long-running loop | Agents API (including computer use) | Chat Completions messages as a fake session |
Programmatic Tool Calling lets the model write JavaScript that runs in an isolated V8 to coordinate tools; your app still runs client-owned tools. That is control flow, not “output must match my business schema.”
Migrate from old Chat Completions into three paths
Run a fictional order in staging before production tickets:
- List three outputs. Object / tool args / bounded enum—each gets a schema or choices list.
- Object path → text.format. Drop response_format on Responses requests.
- Flatten tool defs. Add additionalProperties:false and required; set strict:false only when you mean it.
- Routing → Decisions. Evidence via input_json; write choice into host facts, then send the Responses tool request.
- Write back on call_id. Do not send legacy role:tool messages.
On hosted Agents, Call/Result become session events. “Decisions does not execute tools” still holds.
Spread schema, arguments, and answers
Most “the model dumped bad JSON” bugs mix all three paths in one request—not Luna failing to fill fields.
- Use format on arguments and text.format results; Schema validation on tool parameters and extract schemas.
- Use JSON Diff on before/after requests: leftover response_format, nested function wrappers.
- Use JSONPath on Decisions answers for name=route; confirm it is not treated as an order object.
- Five-segment loop fields: Agent JSON state.
- JSONSort runs locally—do not upload real tickets or keys.
Migration is done when three JSON contracts each pass Schema—not when “everything looks like JSON.”
Common mistakes
- Thinking DevDay shipped a new Structured Outputs API. Not on the recap; it still lives on Responses.
- Using Decisions to generate an order object. answers are only probability / choice / score.
- Still sending response_format on Responses. The migration guide moves it to text.format.
- Keeping a nested function.function wrapper. Responses tools are internally tagged and flat.
- Omitting strict and assuming always-strict. Incompatible schemas fall back to strict:false.
- Treating Programmatic Tool Calling as a schema gate. It coordinates calls; business objects still need text.format or host validation.
FAQ
Can I still use json_object mode?
It yields valid JSON, not your schema. Prefer json_schema in text.format when the model supports it.
Does Decisions input_json replace Structured Output?
No. input_json is evidence. The answer shape is still the question type, not your custom object.
Must I delete Chat Completions function wrappers today?
Keep the outer function wrapper while you stay on Completions. On Responses, flatten defs and write back with call_id.
How is this different from the workflow and state posts?
Those cover how to wire the loop and persist host state. This post only answers which official API owns each JSON contract.
Was Programmatic Tool Calling a DevDay launch?
Docs place it with GPT-5.6 tools; a DevDay session (“Stop Overpaying”) mentions it. Do not describe it as a Sep 29 Structured Output product.
Conclusion
After DevDay 2026, Structured Output and Tool Calling did not merge into a bigger schema: objects use text.format, side effects use flat functions, bounded choices use Decisions. October 22 GA hardened the routing path—it did not let Decisions emit business JSON.
Draw three contracts, then rename fields. The model still only fills JSON; execute and next hop stay host decisions.
Further reading
- DevDay 2026 what shipped Decisions preview, Agents computer use
- Agent workflow walkthrough Route / execute / hosted layers
- API migration text.format and call_id
- Agent JSON state Request → Call → Result → State
- All posts More on JSON and AI development
Changelog: First published