Lesson 1385 of 2244
Function calling strictness modes in Claude, GPT, and Gemini
Strict modes guarantee schema-compliant tool calls — at a quality cost worth measuring.
Adults & Professionals · Model Families · ~7 min read
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
Practice this safely
Use a real but low-risk workflow from your day. Treat AI as a drafting and organizing layer, then verify the output before anyone relies on it.
- 1Ask AI to explain function calling in plain language, then underline anything that sounds uncertain or too broad.
- 2Give it one detail from "Function calling strictness modes in Claude, GPT, and Gemini" and ask for two possible next steps plus one reason each step might be wrong.
- 3Check strict mode against a trusted source, teacher, adult, expert, or original document before you use it.
End-of-lesson quiz
Check what stuck
12 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
Adults & Professionals · 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 · 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.
Creators · 9 min
Hermes For Structured JSON Output: Schemas That Work
When you need data, not prose, an open-weight model has to play by a schema. Hermes is one of the more reliable choices — but only if you prompt it carefully.
