LLM Tool Schema Design: JSON Schema Patterns for Reliable Function Calling (2026)
Design JSON Schemas for LLM function calling that hold up under real production traffic. Strict mode, enums, nesting depth, Pydantic-first, and the failure modes I measure across OpenAI, Anthropic, and Gemini.


