AI: How does it use tools? Tool Calling, explained simply.
·2 min read·Intermediate
“
AI can talk, but can it actually *do* things in the real world? Absolutely, thanks to a capability that turns it from a chatterbox into a "doer."
In 30 seconds
01"Tool Calling" lets AI use external tools, like a weather app or a banking service.
02AI suggests the action and parameters, but an external system executes the command.
→
💡
What this means for you
For the average person, it means AI is no longer just a brilliant chatterbox, but can become an assistant that performs concrete actions in the digital world. The apps and services you use daily can be controlled or integrated more intelligently by AI.
Imagine having a tiny art critic for your code, always there to suggest improvements. Now it's possible, with a touch of AI that doesn't spy on you.
·1 min·2·Intermediate
03This capability turns AI into an agent, able to act, not just generate text or chat.
So, AI chats, writes poetry, and solves your math problems. Cool, right? But the real magic happens when AI stops being just a "brainiac" and starts getting its hands dirty, or rather, delegating. That's "Tool Calling" in a nutshell.
Can AI really use a weather app?
Yes, AI can use a weather app, or book a restaurant table, or send emails. "Tool Calling" is precisely this: the ability of an AI model to recognize when it needs an external tool to fulfill a request. It's not like the AI starts programming the app itself, let's be clear.
Instead, it's like an orchestra conductor who knows exactly which musician needs to play at a given moment. The AI understands that "finding the weather in Milan" requires a weather API. Then, with a magic of its own, it formulates the correct request for that API. AWS has implemented Tool Calling capabilities in its Bedrock service, allowing models like Anthropic Claude to interact with external APIs.
📬 Enjoying this article?
Get the best AI news every week, straight to your inbox.
How does this smart "delegation" work?
Simple: the AI doesn't execute code. It's not a programmer. Imagine AI as a super-intelligent consultant. You ask it, "What will the weather be like tomorrow in Rome?" The AI, knowing it has a "weather tool" available, generates a "call" to that tool with the right parameters, like "city: Rome," "date: tomorrow."
This "call" is then passed to an external system, which is what actually queries the relevant weather API. The result, say "sunny and 25 degrees," comes back to the AI. At that point, the AI processes the response and communicates it to you in a human-like way. OpenAI popularized the concept of Function Calling with the launch of GPT-3.5 Turbo in March 2023, enabling models to generate structured API calls.
Why should all this matter to me?
Because it transforms AI from a mere text generator into a true "agent." We're no longer just talking about chatbots that answer questions, but assistants that do things. They can manage your bookings, check your bank account (if you grant permissions, of course), or automate complex tasks that require interaction with various services. It's quite a leap, isn't it? From being a talking brain to an operational arm, hopefully always under your supervision.