By the end of this lesson, you will be able to explain why an AI model needs tools, name four common kinds of tools, and describe what happens during a function call.
You know lots of facts in your head. But for some things, you reach for a tool: a calculator for big multiplications, a phone to call a friend, a map to find your way. You don't become the calculator. You pick it up, press the buttons, read the answer, and put it down. Then you use that answer to continue what you were doing. An AI model does exactly the same thing with its tools: it knows when it needs one, asks for it, reads the result, and carries on.
An AI model, on its own, can only produce text. It cannot look at today's weather, open a file or send a message by itself. Tools are how it reaches outside itself: to search the web, run code, read a file, or send a message. Function calling is the way the model asks for a tool to be used: instead of writing a normal sentence, it writes a small, precise request like get_weather("Paris").
Read the diagram from left to right. First the model realizes it is missing something. Then it calls the tool with exact inputs (here, the city name). The tool is real code that runs outside the model and fetches real data. The result is handed back to the model, which now has a true fact to work with instead of a guess.
Common tools:
Examples:
The important idea: the model doesn't pretend to know. It recognizes the limit of its own knowledge and asks a tool that can know.
The human function call. You need 3 people and some index cards.
calculate(23 × 47). No chatting allowed!Which tools do you rely on every day that you could not "do in your head"? Should an AI agent be allowed to use every tool, or only some of them?
So what? Tools turn a model that only talks into an agent that can actually check facts and take action in the real world — and that's the difference between a good guess and a real answer.