8. AI Tooling & Future

Tool Calling (கருவிகளை பயன்படுத்துதல் / Using External Tools)

Let's give the mechanic a spanner! (மெக்கானிக்குக்கு ஸ்பேனர் கொடுப்போமா!)

Technical Meaning: கருவி அழைப்பு (Karuvi Azhaippu) - The ability of an AI model to pause its text generation and execute an external function or API (like a calculator or web search).

The Core Idea

LLMs are terrible at math and don't have access to live internet. Tool Calling (or Function Calling) is a feature where you provide the AI with a list of "Tools" it can use. If you ask an LLM, "What is 3948 * 239?", instead of hallucinating the math, it realizes it has a calculator() tool, pauses, runs the code, gets the exact answer, and then replies to you.

Tool Calling is the bridge that connects the static brain of an LLM to the dynamic APIs of the real world.

The Origin Story

OpenAI officially released Function Calling for GPT-4 to solve the hallucination problem. Developers were struggling to parse raw text outputs from the AI into JSON for their apps. Function calling forced the AI to output strictly formatted JSON arguments that match an API schema, making building AI applications 100x more stable.

The Tamil Analogy

Mechanic Tool

Imagine a genius Bike Mechanic (பைக் மெக்கானிக்).

He knows exactly what is wrong with your bike just by looking at it (the LLM's brain). He knows the engine needs to be tightened. But if you just tie his hands behind his back, his knowledge is useless. He can't tighten a bolt with his bare hands!

To fix the bike, he needs a Spanner (A Tool).

When you give the mechanic a spanner, he uses his brain to decide when and how to use it, and uses the tool to do the actual physical work. Tool Calling is giving the AI "spanners" (APIs, Calculators, Web Browsers) so it can actually affect the real world.

Sources & Further Reading

Try It Yourself

Tool Calling (API)

LLMs are terrible at math. Let them use a Calculator Tool instead!

"What is 234 * 492?"
🤖
Waiting for math problem...