structured-output
JSON, schemas, constrained decoding
Topics
- Tool use (function calling)Tool use lets a model call functions you define: search a database, call an API, run code, edit files. The model does not run anything itself. It returns a structured request (tool name plus JSON…
Sources
- OpenAI Decisions API guidedocs · OpenAI · 6 October 2026