← All projects
#3 primer beginner Function Calling ⏱ 20 min

03 · Tool / Function Calling

Let the model decide when to call a tool, run it, and fold the result back into the answer — the loop that creates agents.

tool usefunction callingagent loop

This demo runs entirely in your browser using a deterministic mock model and a static dataset. Same input → same output, every time.

Function / tool callingruns in your browser · mock model
💭 no tool needed — answered directly

✅ Knowledge check

  1. In tool/function calling, who decides when to call a tool?

  2. What turns a single tool call into an "agent"?

Answer all 2 questions to check.