Tool Call (Function Calling)
A Tool Call, also called Function Calling, is the mechanism by which a large language model asks an external function, API, or tool to perform an action and return a result, such as searching a database, sending an email, or running code.
What is Tool Call (Function Calling)?
In a tool call, the model outputs a structured request that names a tool and supplies its arguments instead of producing a plain-text answer. The application or agent framework executes that request, returns the result to the model, and the model continues its reasoning with the new information. Tool definitions are usually described to the model through a name, a description, and a parameter schema. Protocols such as the Model Context Protocol (MCP) standardise how tools are exposed to AI clients and how tool calls are made.
Why is Tool Call (Function Calling) Important?
Tool calls are where an AI system moves from producing text to taking actions with real-world effects. A manipulated or mistaken tool call can delete data, send information outside the organization, change records, or spend money. For this reason, tool calls are a key control point in agentic AI security: organizations may restrict which tools an agent can call, validate tool arguments, require human approval for sensitive actions, and log every call with the identity of the user and agent involved.
Common use cases
Tool calling is used in AI agents, enterprise copilots, coding assistants, customer support bots that look up orders or tickets, data analysis assistants that run queries, workflow automation, and MCP-based integrations with SaaS applications.