miatz™
Verify a credentialLog inSit ChuunSit Chuun
  • Learners
  • Mentors
  • Business
CoursesApplied AIProgramResidencyPlaygroundsWar RoomsXookAtlasReadiness Check
miatz

The AI-era engineering institute. The machines got fast — we train the drivers. Real work, a daily loop that compounds, and a record that proves you can think.

Toggle theme
Explore
  • Courses
  • Applied AI
  • Program
  • Residency
  • Playgrounds
  • War Rooms
  • Xook
  • Atlas
  • Readiness Check
  • Tokenizer Lab
  • Chunking Lab
  • Prompt Anatomy
  • Calibration Lab
  • All playgrounds →
Learn
  • Courses
  • The Method
  • The Residency
  • Chuun · Entrance Examination
  • Manifesto
  • The Itz'at credential
  • Verified engineers
  • Playground Catalog
  • AI Use-Case Atlas
  • AI Readiness Check
  • Guides
  • Glossary
  • Compare approaches
  • Blog
  • What's New
For teams
  • For Students
  • For Mentors
  • For Business
  • Classroom migration
  • Miatz Index
  • API reference
  • Sit Chuun
  • Log in
Company
  • About
  • Experts
  • Why it's free
  • Pricing
  • FAQ
  • Contact
  • Privacy Policy
  • Terms of Service
  • Your data & privacy requests
  • Grievance redressal
  • Security & disclosure
  • Subprocessors
  • Data Processing Agreement
Take miatz with you

The Android app is live. iOS is on the way.

Available on AndroidGet it on Google Play
Not yet on iPhoneiOS — use the web app

Miatz Private Limited

Registered office:
C-101, Lotus Tower, Arge Urban Bloom, 30/A, 4th Main, 2nd Stage, Yeswanthpur, Bengaluru, Karnataka 560022, India
CIN:
U62013KA2026PTC226418
GSTIN:
29AAVCM3922D1Z6
Phone:
+91 82802 73456
Email:
hello@miatz.com
Website:
miatz.com
Grievance Officer:
Aishwarya · aishwarya@miatz.com · replies within 30 days
© 2026 miatz · Miatz Private Limited · Built in Bangalore·PrivacyTerms

miatz™, Itz'at™, Tuukul™, T'aan™, Kanan™, Xook™ and Chuun™ are trademarks of Miatz Private Limited (registrations in progress) · what the names mean

miatz
Glossary

Tool Use

Tool use (function calling) is when a model emits a structured call to a function, which the surrounding application executes and returns a result for.

Tool use — also called function calling — is the mechanism by which a language model requests that a specific function be executed with specific arguments, by emitting a structured call that the surrounding application (not the model itself) actually executes, feeding the result back into the model's context.

A language model on its own can only produce text from what it already knows. Tool use is what turns it into something that can look up a fact, run a calculation, query a database, or take an action in the world — the model decides what needs doing and describes the call; your code is the one that actually does it. This is the single primitive underneath the entire agent category: without tool use, there is no meaningful difference between a chatbot and an agent.

How it works

Each tool is declared with a name, a description of when to use it, and a schema defining its expected inputs. When the model determines a tool would help, it emits a structured tool-call block naming the tool and its arguments, validated against that schema. The application executes the real function — a database query, an API call, a file read — and returns the result as a tool result, which the model reads before continuing. This can happen once, or loop many times in sequence as an agent works through a multi-step task, with the model reasoning fresh at each step based on what the previous tool call actually returned.

Why it matters

Tool use is what makes grounded answers possible instead of guessed ones: a model with a search tool doesn't have to remember a fact, it can look it up; a model with a calculator doesn't have to do arithmetic in its head, where it's unreliable. It also carries a cost, both in tokens (every tool's schema takes up context space, every call and result adds a round trip) and in design responsibility (a tool with side effects needs the same validation and access controls as any other piece of code a stranger's input can trigger).

A worked example

A single tool-call round trip for a weather lookup costs roughly this in tokens: the tool's schema definition adds about 80 tokens to every request whether or not it gets used; the model's actual call adds about 30 tokens; the tool's result, injected back into context, adds about 150 tokens; the model's final answer using that result adds about 50 more — 310 tokens of overhead for one grounded fact. That's a real cost, but compare it to the alternative: a model guessing at a weather report from stale training data, confidently wrong, and the user acting on it — the 310 tokens are cheap insurance against exactly the failure hallucination describes.

How miatz teaches it

Tool use is the first thing learners build in the agents track, before memory, before guardrails, before anything else — a bare loop with one tool, wired by hand, so the mechanism (call, execute, return, continue) is understood as plumbing before it's wrapped in any framework. Every later agent pattern in the curriculum — ReAct, planner-executor, multi-agent orchestration — is built as a variation on this same primitive, and learners are expected to be able to say which part of a more complex system is still, underneath, just tool use.

Related terms

AI Agent Model Context Protocol (MCP) ReAct Pattern Hallucination

Learn this in a course

AIE-201 · AI-Assisted Coding AIE-204 · Structured Outputs & Function Calling AIE-205 · Automation & Workflows AIE-301 · Agent Foundations AIE-303 · MCP & Tool Integration

See it compared

AI Agents vs Workflows

Learn it by doing it.

Miatz turns definitions into judgment — the free founding cohort trains you on exactly these concepts, hands-on.

Join free More definitions