AI glossary · Basic · Agents
Tool use
Tool use is a capability that lets an AI model call outside tools such as search, calculators, databases and external APIs instead of producing every answer on its own. It is also called function calling.
About this term
- Level
- Basic · Technical terms you often meet in AI news
- Category
- Perception & action
- Fields
- Agents
- Added
- 2026-10-08
How it works
The developer describes in advance the name, purpose and required inputs of each tool the model can use. When the model receives a question and decides a tool is needed, it outputs a request in a set format (usually JSON) saying 'run this tool with these values'. The model is not the one that runs the tool. The app or server that receives the request actually runs the tool and returns the result to the model. The model reads the result and either finishes the answer or repeats the process by calling another tool.
Why it matters
LLMs do not know about events after their training cutoff and are weak at exact calculation and at looking up internal company data. With tools, they can search for current information, calculate accurately and even take real actions such as sending email or adding calendar events. AI agents, coding agents and computer use features are all built on this capability. Standards such as MCP emerged to make it easy to connect one tool to many AI apps.
Things to know
Failures are common: the model picks the wrong tool, passes wrong input values or misinterprets the result. For tools that take hard-to-reverse actions such as payments or deletions, it is safer to add a step where a person confirms before execution. Results a tool brings back, such as web documents, may hide malicious instructions, so there is also a risk of prompt injection. The more tools there are, the more context the tool descriptions take up, and the harder it becomes to pick the right tool.
Example
A common example of tool use is a chatbot that receives a question, runs a web search and answers based on the results. When a coding agent reads files, runs commands and runs tests, all of it is done through tool calls. The paper covered on this site, 'From Evidence to Action: Where Do Tool-Using Agents Fail?', also looks at the steps where such agents fail.
Where it came up on this site
- Papers From Evidence to Action: Where Do Tool-Using Agents Fail? 2026-10-08