Prompt Engineering in Practice · Structured Outputs and Function Calling
JSON Schema for LLMs
Structured Outputs and Function Calling
Introduction
An LLM schema is not the same as an HTTP API schema. How to design fields, descriptions, enums, recursion. OpenAI strict mode limits, differences between Anthropic and Gemini. Schema reuse, portability, versioning and debugging. Schema-as-prompt: how a good schema replaces 30% of prompt engineering.