Foundations

Tool Calling

Adil MektoubAdil Mektoub

Published 13 July 2026Last reviewed 13 July 2026

Definition

Tool Calling: is the mechanism by which a language model invokes defined functions or APIs — to retrieve data or take actions — turning a model that only generates text into an agent that can act.

Executive summary

Executive summary

Tool calling gives a model a set of defined, permissioned operations it can request: look up a record, send a draft for approval, update a field. The model decides when a tool is needed and with what inputs; the surrounding system executes it under controls.

It is the bridge between reasoning and action. Every tool is a defined interface with scoped permissions, so what an agent can do is explicit and auditable.

Key takeaways

Key takeaways
  • Tool calling lets a model retrieve data and take actions.
  • It is what turns an LLM into an AI agent.
  • Each tool is a defined, permissioned, auditable interface.
  • Consequential tools are gated by human approval.

Architecture

Each tool available to an agent is defined by:

  1. 1InterfaceA clear definition of the operation and its inputs.
  2. 2PermissionsScoped, least-privilege access to the target system.
  3. 3ExecutionThe AI Operating System runs the call under controls.
  4. 4ApprovalConsequential tools require Human-in-the-Loop sign-off.

Business example

Example implementation scenario

An operations agent has a 'read spreadsheet' tool and a 'draft email' tool, but sending the email is a separate, approval-gated tool.

It can gather and prepare freely, but the consequential action is explicitly controlled.

FAQ

Frequently asked questions

Is tool calling safe?
It is as safe as its design: each tool has scoped permissions, execution is controlled and logged, and consequential tools require human approval.
What can tools connect to?
Subject to integration scope, tools connect to systems like CRMs, email, spreadsheets and document stores through official APIs.
Adil Mektoub

Author

Adil Mektoub

Founder · Engineering & AI Infrastructure

France-based AI platform engineer. Age 36. E-mobility AI background; SAP and Vitol.