EVERYTHING AIAI engineering, made visual
Visual edition planned
Phase 13 · Lesson 02Build1.3 h31 lessons in phase

Function Calling Deep Dive — OpenAI, Anthropic, Gemini

The three frontier providers converged on the same tool-call loop in 2024 and then diverged on everything else. OpenAI uses `tools` and `tool_calls`. Anthropic uses `tool_use` and `tool_result` blocks. Gemini uses `functionDeclarations` and unique-id correlation. This lesson diffs the three side by side so code that ships on one provider does not break when you port it.

Visual edition planned

This lesson isn’t interactive yet.

It is part of the curriculum and will get the same treatment as Phase 1 — a visual cover, hands-on labs, derivations with numeric checks and a quiz. Until then, the original lesson is the best place to read it:

Part of Phase 13Tools & Protocols. Use the previous / next cards below to keep browsing the phase.