Skip to main content
Early access β€” new tools and guides added regularly
Practical

Tool Use (AI)

Last reviewed: April 2026

The ability of an AI model to call external tools, APIs, and services to perform actions or retrieve information beyond its built-in capabilities.

Tool use in AI refers to a model's ability to invoke external tools β€” APIs, databases, calculators, web browsers, code interpreters, and other services β€” to accomplish tasks it cannot handle with language generation alone. This capability transforms AI from a text-only assistant into an agent that can interact with the real world.

Why tool use matters

A language model on its own can only generate text. It cannot check today's weather, query your database, send an email, or run a calculation with guaranteed accuracy. Tool use bridges this gap by allowing the model to recognise when it needs an external capability and call the appropriate tool.

How tool use works

The typical flow involves several steps:

  • Tool definition: The developer describes available tools to the model β€” what each tool does, what inputs it expects, and what output it returns.
  • Tool selection: When processing a user request, the model determines whether it needs a tool and which one to call.
  • Parameter extraction: The model extracts the required parameters from the conversation context and formats them correctly.
  • Execution: The tool is called with those parameters, and the result is returned to the model.
  • Response synthesis: The model incorporates the tool's output into its response to the user.

Common tool categories

  • Information retrieval: Web search, database queries, document lookup, knowledge base search.
  • Computation: Calculators, code execution, data analysis, spreadsheet operations.
  • Communication: Sending emails, posting messages, creating calendar events.
  • System actions: File operations, API calls to business systems, deployment triggers.

The MCP connection

The Model Context Protocol standardises how tools are described and called, making it easier to give AI models access to a growing ecosystem of tools without custom integration for each one.

Security considerations

Tool use introduces real-world consequences β€” an AI that can send emails or modify databases needs appropriate guardrails. Implementing confirmation steps for high-impact actions, limiting tool permissions, and logging all tool calls are essential practices.

Want to go deeper?
This topic is covered in our Practitioner level. Access all 60+ lessons free.

Why This Matters

Tool use is what transforms AI from a clever text generator into a practical business tool. Understanding how it works helps you design AI workflows that actually accomplish tasks rather than just generating suggestions that someone else must execute.

Related Terms

Learn More

Continue learning in Practitioner

This topic is covered in our lesson: Building AI-Powered Workflows