mlsanityData to 14 Oct 2026

Teaching LLMs to Learn Tool Trialing and Execution through Environment Interaction

arXiv 2601.12762 ↗First posted 19 Jan 2026cs.SE cs.AIcited by 3

On the map: LLM agents and tool use → Tool learning and function calling

Abstract (arXiv)

Equipping Large Language Models (LLMs) with external tools enables them to solve complex real-world problems. However, the robustness of existing methods remains a critical challenge when confronting novel or evolving tools. Existing trajectory-centric paradigms primarily rely on memorizing static solution paths during training, which limits the ability of LLMs to generalize tool usage to newly introduced or previously unseen tools. In this paper, we propose ToolMaster, a framework that shifts tool use from imitating golden tool-calling trajectories to actively learning tool usage through interaction with the environment. To optimize LLMs for tool planning and invocation, ToolMaster adopts a trial-and-execution paradigm, which trains LLMs to first imitate teacher-generated trajectories containing explicit tool trials and self-correction, followed by reinforcement learning to coordinate the trial and execution phases jointly. This process enables agents to autonomously explore correct tool usage by actively interacting with environments and forming experiential knowledge that benefits tool execution. Experimental results demonstrate that ToolMaster significantly outperforms existing baselines in terms of generalization and robustness across unseen or unfamiliar tools. All code and data are available at https://github.com/NEUIR/ToolMaster.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Placed in Tool learning and function calling, one of 16 directions in LLM agents and tool use. Builds on 21 of its 27 references that are in the map. First posted on arXiv 19 Jan 2026.

Builds on

21 of 27 references.

Closest ancestors · 4

Same direction, newest first

  1. 2025ToolHop: A Query-Driven Benchmark for Evaluating Large Language Models in Multi-Hop Tool Use5 Jan
  2. 2024TOOLVERIFIER: Generalization to New Tools via Self-Verification21 Feb
  3. 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs31 Jul
  4. 2023ToolAlpaca: Generalized Tool Learning for Language Models with 3000 Simulated Cases8 Jun

Other references · 17

  1. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  2. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
  3. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  4. 2020Extracting Training Data from Large Language Modelscited by 2,189
  5. 2025Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Modelscited by 1,261
  6. 2022LaMDA: Language Models for Dialog Applicationscited by 1,220
  7. 2023An Empirical Study of Catastrophic Forgetting in Large Language Models During Continual Fine-tuningcited by 639
  8. 2025ReTool: Reinforcement Learning for Strategic Tool Use in LLMscited by 392
  9. 2025ToolRL: Reward is All Tool Learning Needscited by 362
  10. 2023TaskMatrix.AI: Completing Tasks by Connecting Foundation Models with Millions of APIscited by 184
  11. 2024Advancing Tool-Augmented Large Language Models: Integrating Insights from Errors in Inference Treescited by 38
  12. 2024StepTool: Enhancing Multi-Step Tool Usage in LLMs via Step-Grained Reinforcement Learningcited by 25
5 more
  1. 2025Advancing Tool-Augmented Large Language Models via Meta-Verification and Reflection Learningcited by 24
  2. 2025Feedback-Driven Tool-Use Improvements in Large Language Models via Automated Build Environmentscited by 19
  3. 2023INTERVENOR: Prompting the Coding Ability of Large Language Models with the Interactive Chain of Repaircited by 18
  4. 2025Tool Zero: Training Tool-Augmented LLMs via Pure RL from Scratchcited by 17
  5. 2025CodeTool: Enhancing Programmatic Tool Invocation of LLMs via Process Supervisioncited by 6

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 3.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024From Exploration to Mastery: Enabling LLMs to Master Tools via Self-Driven Interactions
  2. 2024LLMs in the Imaginarium: Tool Learning through Simulated Trial and Error
  3. 2024LLM With Tools: A Survey
  4. 2026Pushing the Limits of LLM Tool Calling via Experiential Knowledge Integration and Activation
  5. 2026OpaqueToolsBench: Learning Nuances of Tool Behavior Through Interaction
  6. 2024Tool Learning with Large Language Models: A Survey
  7. 2024ToolPlanner: A Tool Augmented LLM for Multi Granularity Instructions with Path Planning and Feedback
  8. 2024Learning Evolving Tools for Large Language Models