Lesson 1558 of 2116
Function calling strictness modes in Claude, GPT, and Gemini
Strict modes guarantee schema-compliant tool calls — at a quality cost worth measuring.
Lesson map
What this lesson covers
Learning path
The main moves in order
- 1The premise
- 2function calling
- 3strict mode
- 4JSON schema
Concept cluster
Terms to connect while reading
Section 1
The premise
Strict tool-call modes eliminate parse errors but can hurt the model's reasoning when the schema is over-constrained.
What AI does well here
- Measure tool-call success rate with strict on vs off
- Use strict for safety-critical tools, relaxed for exploratory ones
What AI cannot do
- Get strict mode quality for free — there is always a quality tradeoff
- Replace schema validation on your end
Key terms in this lesson
End-of-lesson quiz
Check what stuck
15 questions · Score saves to your progress.
Tutor
Curious about “Function calling strictness modes in Claude, GPT, and Gemini”?
Ask anything about this lesson. I’ll answer using just what you’re reading — short, friendly, grounded.
Progress saved locally in this browser. Sign in to sync across devices.
Related lessons
Keep going
Creators · 10 min
Local Function Calling and Structured Output: Making Small Models Reliable
Tool use and JSON output are not just frontier-cloud features. Modern Ollama and llama.cpp support both — with sharper constraints that pay off in reliability.
Creators · 40 min
Tool Calling Quality Across Frontier Models
Tool calling quality varies across frontier models. Selection by use case improves reliability.
Creators · 10 min
Hermes For Function Calling: Tool-Use Without OpenAI
Hermes ships with a documented function-calling format. That makes it one of the few open-weight models you can wire into agent frameworks without months of prompting hacks.
