Glossary / Agents

Tool Calling

Tool calling is what turns a language model into an agent. Instead of just answering, the model can look up a record, update a field, send a message, or query a system by calling a defined tool. Standards like the Model Context Protocol give models a common way to reach these tools.

Because tool calls take real actions in real systems, the consequential ones deserve oversight. A common pattern is to let the agent call read-only tools freely but require a human approval gate before a tool call that writes to a system of record or sends something to a customer.

How does tool calling work mechanically?

The model is given descriptions of the available tools and their inputs. Instead of replying with prose, it emits a structured request naming a tool and its arguments. The surrounding runtime, not the model, actually executes that call and returns the result into the conversation, and the model uses it to decide what to do next. The model chooses; it never executes.

Why is tool calling the point where security starts to matter?

Because it is where text turns into action. Everything before it is a model producing tokens, which is recoverable. A tool call writes to a CRM, sends an email, or deletes a record. That is why permissions belong on the tool rather than in the prompt: an instruction not to do something is a suggestion, whereas a tool the agent does not have is a boundary.

Is tool calling the same thing as an AI agent?

No. Tool calling is a capability: one model invoking one function. An agent is a loop that uses that capability repeatedly toward a goal, deciding after each result what to do next. A system can call tools without being an agent, and the difference matters when you are scoping risk, because a single scripted call has a bounded outcome while a loop does not.

From definition to a working system

Mindlyft is the approval and audit layer over your AI GTM agents, every action drafted, human-approved, reversible, and logged. Start with a free 30-minute GTM Engineering Review.

Get your free review

Free GTM Engineering Review

Thirty minutes on your GTM engine.Free. No pitch deck.

A working session, not a sales call. We map where your company's knowledge lives, where promises leak, and the first systems we would build, and we tell you straight if it is not worth doing yet.

Or pick a time