Tool Use
Tool use is the ability of a large language model (LLM) to call external tools, such as functions, APIs or code that a developer has registered, while it is answering, so that it can fetch information or carry out a task. The model decides when a tool is needed from the user's request and the tool's description, then returns a structured call. Either your application runs it (client tools) or the provider runs it (server tools), and the result goes back to the model.[1] Anthropic uses the name "tool use"; OpenAI introduced the same capability in June 2023 as "function calling" and now also calls it "tool calling".[3][5]
What does Tool Use mean in simple terms?
With tool use, a model can decide partway through an answer: "I can't know this myself, so I should call one of the registered tools." It then writes a request in an agreed format, for example the tool name plus {"location": "San Francisco, CA"}. Your code runs the tool and sends back the result, and the model uses it to finish the answer.[1] Think of someone in a meeting who does not know the latest sales figure and asks the colleague who owns the sales spreadsheet, using a request form both sides agreed on in advance. The key is agreeing beforehand which tool handles which request, and in what format. This is why some AI assistants can check live data or take actions in other software, because a separate execution layer carries out the requested operation.
How can Tool Use be explained with an analogy?
It is like a shared request desk: when a staff member lacks information, they send a standard request form to the right specialist and get the answer back.
Where is Tool Use used?
KCC — A profit-analysis agent that picks internal tools
KCC, a Korean building-materials and coatings company, built a multi-agent platform on Amazon Bedrock in 2025, and the AWS Korea tech blog describes its Profit Agent in detail.[9] The team registers its functions as tools in a JSON list with a name, description and input schema. Using Bedrock's Tool Use with Claude 3.5 Sonnet, the model reads a question such as "Show a profit analysis by sales office for product group A in Q1 2025" and returns which tools to run, for example text2sql, answer, chart and a related-questions tool. The functions then run in order.[9] The Text2SQL step uses an Amazon Nova Pro model to write a query that runs on KCC's on-premises MS SQL database.[9]
Result (company-reported): Prompt caching of the table schema and sample queries cut the token cost of those inputs by more than 90%.[9]
KCC — The Bank of Korea indicator API as an external tool
The same Profit Agent is connected to the Bank of Korea's "100 key economic indicators" API.[9] When a user asks about raw-material prices or the manufacturing production index, the model selects the economic-indicator function, which calls the API in real time. The model then explains the data in plain language and suggests related questions.[9] The blog presents this as part of an agentic workflow that links analysis, planning and execution.[9]
Result: Users can ask about macroeconomic indicators in the same chat window as internal profit data; the blog does not report a quantitative effect for this tool.[9]
Anthropic — Server tools that run on the provider's side
Anthropic offers server tools, including web search, web fetch, code execution and tool search, that run on its own infrastructure. The provider normally handles their execution, although mixed client/server tool calls can require documented fallback handling.[1] In the documentation's minimal example, the developer adds one versioned tool entry, such as {"type": "web_search_20260209", "name": "web_search"}, and Claude returns cited search results in the same response.[1] Server tools can add usage-based charges, for example per search.[1] In November 2025 Anthropic also released a Tool Search Tool in beta. It lets Claude find and load tools on demand from a large library instead of placing every definition in the context window (the amount of text the model can handle at once).[8]
Result: In Anthropic's internal MCP evaluations with large tool libraries, enabling the Tool Search Tool raised Claude Opus 4.5's accuracy from 79.5% to 88.1%.[8]
Toolformer — A model that taught itself when to call tools (research)
Schick et al. (2023) trained Toolformer, based on the 6.7-billion-parameter GPT-J model, to decide which API to call, when, with what arguments, and how to use the result.[10] It learned this in a self-supervised way from only a handful of demonstrations per API. The tools were a calculator, a question-answering system, two search engines, a translation system and a calendar.[10] In zero-shot tests, Toolformer improved substantially while keeping its core language modeling ability.[10]
Result: On fact-completion (LAMA) and math benchmarks, Toolformer (6.7B) outperformed GPT-3 (175B), a model about 25 times larger.[10]
Try it today
- For a model that supports it, run the minimal web search example in Anthropic's tool use documentation and compare the answer with and without the tool. Check the extra per-search charge first.[1]
- Pick one task your team repeats, such as checking stock levels or a calendar, and write a tool definition for it with a JSON Schema for its inputs.[1][5]
- Write a clear
descriptionfor the tool that says what it does, when to use it, and what each parameter means. The model decides when to call a tool from this description.[1][5] - Compare how often the model calls the tool when
tool_choiceis "auto", "any", or set to force one specific tool.[1] - If several apps or teams need the same tools, consider exposing them once through an MCP server instead of rebuilding each integration.[6][7]
Limits and direction
More tools do not automatically mean better results. OpenAI's guide suggests, as a soft rule, keeping fewer than 20 functions available at the start of a turn and loading rarely used tools later with tool search.[5] Anthropic reports that tool definitions can use tens of thousands of tokens before a conversation starts, and that the most common failures are choosing the wrong tool and passing incorrect parameters.[8] Research on the Gorilla model also found that LLMs often generate wrong arguments or hallucinate how an API should be used.[12] In the KCC case, early Text2SQL queries included syntax errors and nonexistent column names; the team improved accuracy with clearer schemas, a domain glossary, an MS SQL expert role and step-by-step (chain-of-thought) prompts.[9] Tool output can also carry untrusted instructions, so OpenAI advised using only trusted tools and asking users to confirm real-world actions such as sending an email or making a purchase.[3]
The direction is standardization and orchestration. Research such as ReAct (2022) showed that models can interleave reasoning with actions that call outside sources such as a Wikipedia API.[11] OpenAI's function calling began as one vendor's format in June 2023.[3] In November 2024 Anthropic open-sourced the Model Context Protocol (MCP), an open standard for connecting AI applications to data sources and tools.[6] OpenAI added MCP support to its Agents SDK and, on May 21, 2025, to the Responses API, and joined the MCP steering committee.[7] In November 2025 Anthropic released Programmatic Tool Calling, where Claude calls tools from code in a sandbox, and Tool Use Examples, which show sample calls alongside the schema, both in beta. Anthropic described this as a move from simple function calling toward orchestration.[8]
How has Tool Use evolved?
Which concepts are related to Tool Use?
- OpenAI's name for the same ideaFunction CallingThe term OpenAI introduced in 2023 for the same mechanism; Anthropic's documentation says tool use is also called function calling.[1][3]
- Standardized extensionMCPAn open protocol that lets tools and data sources be exposed once and used by many AI applications.[6]
- Where it leadsAgentic EngineeringTool use is a basic building block that lets agents act in other systems; designing reliable multi-step tool workflows is part of agentic engineering.[8]
- Practical exampleClaude SkillsReusable folders of instructions, scripts and resources that Claude loads for specific tasks; they are commonly used together with tools such as code execution.
- Input and output formatStructured OutputWhen calling a tool, the model produces arguments as JSON that follows the tool schema; strict mode makes calls match the schema exactly.[1][5] Schema conformance does not establish valid values or authorization; verify those before executing.
Tool Use vs Function Calling
Which sources explain Tool Use?
- Anthropic (Claude Platform Docs) — Tool use with Claude (checked 2026-10-13) — https://platform.claude.com/docs/en/agents-and-tools/tool-use/overview
- Anthropic — Claude can now use tools (2024-05-30) — https://claude.com/resources/articles/tool-use-ga
- OpenAI — Function calling and other API updates (2023-06-13) — https://openai.com/index/function-calling-and-other-api-updates/
- OpenAI — New models and developer products announced at DevDay (2023-11-06) — https://openai.com/index/new-models-and-developer-products-announced-at-devday/
- OpenAI API Docs — Function calling guide (checked 2026-10-13) — https://developers.openai.com/api/docs/guides/function-calling
- Anthropic — Introducing the Model Context Protocol (2024-11-25) — https://www.anthropic.com/news/model-context-protocol
- OpenAI — New tools and features in the Responses API (2025-05-21) — https://openai.com/index/new-tools-and-features-in-the-responses-api/
- Anthropic Engineering — Introducing advanced tool use on the Claude Developer Platform (2025-11-24) — https://www.anthropic.com/engineering/advanced-tool-use
- AWS Korea Tech Blog — KCC's multi-agent platform built with Amazon Bedrock Tool Use (2025-07-29) — https://aws.amazon.com/ko/blogs/tech/kcc-aws-bedrock-tool-use-multi-agent-platform/
- Schick et al., arXiv — Toolformer: Language Models Can Teach Themselves to Use Tools (2023-02-09) — https://arxiv.org/abs/2302.04761
- Yao et al., arXiv — ReAct: Synergizing Reasoning and Acting in Language Models (2022-10-06) — https://arxiv.org/abs/2210.03629
- Patil et al., arXiv — Gorilla: Large Language Model Connected with Massive APIs (2023-05-24) — https://arxiv.org/abs/2305.15334
Tell us what you think
Your feedback helps us improve the content.