Tool Learning in the Wild: Empowering Language Models as Automatic Tool Agents
Zhengliang Shi, Shen Gao, Lingyong Yan, Yue Feng, Xiuyi Chen, Zhumin, Chen, Dawei Yin, Suzan Verberne, and Zhaochun Ren

TL;DR
This paper introduces AutoTools, a framework that enables large language models to autonomously transform tool documentation into callable functions, integrate them into programs, and improve their ability to solve practical tasks with external tools.
Contribution
The paper presents AutoTools, a novel framework that automates tool integration for LLMs, reducing manual effort and enhancing flexibility in tool use, along with a training approach for improving open-source LLMs.
Findings
AutoTools outperforms existing methods on challenging benchmarks.
Training with synthetic data improves LLMs' tool-use capabilities.
Fine-grained training tasks enhance LLMs' understanding and programming skills.
Abstract
Augmenting large language models (LLMs) with external tools has emerged as a promising approach to extend their utility, enabling them to solve practical tasks. Previous methods manually parse tool documentation and create in-context demonstrations, transforming tools into structured formats for LLMs to use in their step-by-step reasoning. However, this manual process requires domain expertise and struggles to scale to large toolsets. Additionally, these methods rely heavily on ad-hoc inference techniques or special tokens to integrate free-form LLM generation with tool-calling actions, limiting the LLM's flexibility in handling diverse tool specifications and integrating multiple tools. In this work, we propose AutoTools, a framework that enables LLMs to automate the tool-use workflow. Specifically, the LLM automatically transforms tool documentation into callable functions,…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNatural Language Processing Techniques · Topic Modeling
