Tool learning with large language models: a survey

Changle Qu, Sunhao Dai, Xiaochi Wei, Hengyi Cai, Shuaiqiang Wang, Dawei Yin, Jun Xu, Ji-Rong Wen

This survey paper, "Tool Learning with Large Language Models: A Survey," provides a systematic map of the rapidly evolving landscape where Large Language Models (LLMs) transition from passive text generators to active agents capable of using external software, APIs, and physical tools.

TL;DR

LLMs are powerful but limited by their training data and internal logic; "tool learning" overcomes these hurdles by enabling models to interact with external tools like calculators, search engines, and APIs. This survey formalizes the field into a four-stage workflow—planning, selection, calling, and generation—while identifying critical gaps in latency, safety, and real-world evaluation.

What Problem Does This Paper Address?

Despite their impressive reasoning capabilities, LLMs suffer from three core limitations:

  1. Knowledge Cutoffs: They cannot access information generated after their training ended.
  2. Hallucinations: They often generate factually incorrect but plausible-sounding text.
  3. Procedural Weakness: They struggle with precise tasks like complex arithmetic or executing code.

"Tool learning" is the paradigm shift that addresses these by treating the LLM as an orchestrator. However, because this field has exploded recently (as shown in the development trajectory in Figure 1), the literature is fragmented. The authors aim to provide a unified taxonomy and a comprehensive review of why we need tool learning and how to implement it effectively.

The rapid growth of tool learning research over the last two years.

Methods

The authors propose a systematic four-stage workflow for tool learning, which serves as the backbone for their analysis:

  1. Task Planning: The model decomposes a complex user query into solvable sub-steps.
  2. Tool Selection: The model identifies the right tool for each sub-step. This often involves a two-step process: a "retriever" filters a massive library of tools down to a few candidates, and the LLM then makes the final choice.
  3. Tool Calling: The model generates the specific parameters (e.g., JSON arguments) required to execute the tool.
  4. Response Generation: The model integrates the tool's output with its internal knowledge to provide a final answer.

The paper further distinguishes between two execution paradigms: One-step task solving (planning everything upfront) and Iterative task solving (planning, executing, and adjusting based on feedback), as illustrated in Figure 3.

The four stages of tool learning and the two primary execution paradigms.

Implementation strategies are categorized into tuning-free methods (using clever prompting like Chain-of-Thought or ReAct) and tuning-based methods (fine-tuning the model on tool-use datasets or using Reinforcement Learning from Feedback).

Datasets

The survey compiles a massive list of 33 benchmarks used to evaluate these systems. Key categories include:

  • General Benchmarks: Such as API-Bank and ToolBench, which test the model's ability to navigate thousands of real-world APIs.
  • Specialized Benchmarks: Focusing on safety (ToolSword), robustness (RoTBench), and multi-modal capabilities (MLLM-Tool).
  • Evolutionary Trend: The authors note a shift from early datasets with LLM-generated queries to newer benchmarks like GTA and AppWorld that use real-world tools and user-driven needs.

Key Insights and Ideas

  • The "Tool Maker" Concept: Beyond just using tools, some research explores LLMs that can create their own tools (e.g., writing a Python script to solve a new problem) when existing ones are insufficient.
  • Interpretability as a Side Effect: Tool learning naturally makes LLMs more transparent. By seeing which tools a model calls and what data it retrieves, users can verify the reasoning process, which is crucial for high-stakes fields like medicine or finance.
  • The Selection Bottleneck: As tool libraries grow to include millions of APIs, the "Retriever-based Selection" stage becomes the most critical performance bottleneck, requiring advanced techniques like Graph Neural Networks (GNNs) to map tool dependencies.

Key Results

The paper provides a high-level taxonomy of the field (Figure 2), organizing over 150 papers into a coherent structure. While it doesn't present new experimental data, it highlights that iterative solving significantly outperforms one-step planning in complex, multi-turn scenarios. It also notes that while tuning-based models (like ToolLLaMA) show superior performance on specific toolsets, they often suffer from "catastrophic forgetting" when introduced to new, unseen tools compared to tuning-free prompting methods.

The comprehensive taxonomy of tool learning research organized by the authors.

Limitations and Future Work

The authors identify several "frontiers" that remain unsolved:

  • High Latency: Integrating multiple tool calls can make a single query take several seconds, which is unacceptable for many real-time applications.
  • Safety and Robustness: LLMs are vulnerable to "indirect prompt injection," where a tool's output (like a malicious website's text) could hijack the model's logic.
  • Unified Frameworks: Most current research focuses on just one of the four stages. There is a pressing need for a singular, end-to-end framework that handles everything from planning to final response generation seamlessly.
  • Multi-Modal Integration: Most tool learning is currently text-based, but the future lies in models that can use visual or auditory tools to understand the physical world.

Summary updated

BibTeX
@article{qu2025tool,
  author = {Changle Qu and Sunhao Dai and Xiaochi Wei and Hengyi Cai and Shuaiqiang Wang and Dawei Yin and Jun Xu and Ji-Rong Wen},
  title = {{Tool learning with large language models: a survey}},
  journal = {Frontiers of Computer Science},
  year = {2025},
  url = {https://openreview.net/forum?id=YyC9LWoGPM},
}
Figure