Tool Use / Function Calling

Also known as: Function Calling

Category: Generative AI / LLM

The ability of language models to invoke external tools, APIs, or functions to access real-time data, perform computations, or take actions beyond text generation.

Full Explanation

Tool use (or function calling) enables language models to extend their capabilities by calling external functions, APIs, and services. Instead of relying solely on parametric knowledge, the model can search the web, query databases, execute code, send emails, or interact with any software system. The model receives descriptions of available tools, decides when and how to use them based on the user request, generates structured function calls with appropriate arguments, and incorporates the results into its response. Major LLM providers support native function calling: OpenAI, Anthropic, and Google all provide APIs for tool use. This capability is foundational for building AI agents and agentic workflows. Effective tool use requires the model to understand tool capabilities, select appropriate tools, format arguments correctly, and handle errors. The Model Context Protocol (MCP) is an emerging standard for tool integration.

Related Terms

More in Generative AI / LLM

Explore More

  • AI Tools Library — Discover AI tools related to Tool Use / Function Calling
  • AI Education — Courses to learn about Generative AI / LLM
  • AI News — Latest news and updates