Lune

ICLR2026Top-tier venue

Tools are under-documented: Simple Document Expansion Boosts Tool Retrieval

Xuan Lu, Haohang Huang, Rui Meng, Yaohui Jin, Wenjun Zeng, Xiaoyu Shen

Abstract

Large Language Models (LLMs) have recently demonstrated strong capabilities in tool use, yet progress in tool retrieval remains hindered by incomplete and heterogeneous tool documentation. To address this challenge, we introduce Tool-REX, a new benchmark and framework that systematically enriches tool documentation with structured fields to enable more effective tool retrieval, together with two dedicated models, Tool-Embed and Tool-Rank. We design a scalable document expansion pipeline that leverages both open- and closed-source LLMs to generate, validate, and refine enriched tool profiles at low cost, producing large-scale corpora with 50k instances for embedding-based retrievers and 200k for rerankers. On top of this data, we develop two models specifically tailored for tool retrieval: Tool-Embed, a dense retriever, and Tool-Rank, an LLM-based reranker. Extensive experiments on ToolRet and Tool-REX demonstrate that document expansion substantially improves retrieval performance, with Tool-Embed and Tool-Rank achieving new state-of-the-art results on both benchmarks. We further analyze the contribution of individual fields to retrieval effectiveness, as well as the broader impact of document expansion on both training and evaluation. Overall, our findings highlight both the promise and limitations of LLM-driven document expansion, positioning Tool-REX, along with the proposed Tool-Embed and Tool-Rank, as a foundation for future research in tool retrieval.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Identifying the Risks of LM Agents with an LM-Emulated Sandbox cites Gorilla: Large Language Model Connected with Massive APIs
  • MetaTool Benchmark for Large Language Models: Deciding Whether to Use Tools and Which to Use cites Gorilla: Large Language Model Connected with Massive APIs
  • MetaTool Benchmark for Large Language Models: Deciding Whether to Use Tools and Which to Use cites GPT4Tools: Teaching Large Language Model to Use Tools via Self-instruction
  • API-Bank: A Comprehensive Benchmark for Tool-Augmented LLMs cites Gorilla: Large Language Model Connected with Massive APIs
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Beyond Global Similarity: Multi-Conditional Retrieval for Fine-Grained Cross-Modal UnderstandingXuan Lu, Kangle Li, Haohang Huang, Rui Meng et al.CVPR 2026

Builds on12

  1. Gorilla: Large Language Model Connected with Massive APIsShishir G. Patil, Tianjun Zhang, Xin Wang, Joseph E. GonzalezNeurIPS 2024 · 1,715 citations
  2. GPT4Tools: Teaching Large Language Model to Use Tools via Self-instructionRui Yang, Lin Song, Yanwei Li, Sijie Zhao et al.NeurIPS 2023 · 340 citations
  3. Identifying the Risks of LM Agents with an LM-Emulated SandboxYangjun Ruan, Honghua Dong, Andrew Wang, Silviu Pitis et al.ICLR 2024 · 292 citations
  4. MetaTool Benchmark for Large Language Models: Deciding Whether to Use Tools and Which to UseYue Huang, Jiawen Shi, Yuan Li, Chenrui Fan et al.ICLR 2024 · 188 citations
  5. API-Bank: A Comprehensive Benchmark for Tool-Augmented LLMsMinghao Li, Yingxiu Zhao, Bowen Yu, Feifan Song et al.EMNLP 2023 · 72 citations

Related papers

  1. Retrieval Models Aren't Tool-Savvy: Benchmarking Tool Retrieval for Large Language ModelsZhengliang Shi, Yuhan Wang, Lingyong Yan, Pengjie Ren et al.ACL Findings 2025 · 7 citations
  2. ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIsYujia Qin, Shihao Liang, Yining Ye, Kunlun Zhu et al.ICLR 2024 · 1,469 citations
  3. Re-Invoke: Tool Invocation Rewriting for Zero-Shot Tool RetrievalYanfei Chen, Jinsung Yoon, Devendra Singh Sachan, Qingze Wang et al.EMNLP Findings 2024 · 7 citations
  4. Enhancing Tool Retrieval with Iterative Feedback from Large Language ModelsQiancheng Xu, Yongqi Li, Heming Xia, Wenjie LiEMNLP Findings 2024 · 4 citations
  5. Toolscaler: Scalable Generative Tool Calling via Structure-Aware Semantic TokenizationYunyue Su, Zhang Jinshuai, Bowen Fang, Wen Ye et al.EMNLP Findings 2025
Dusk over the sea between two cliffs drawn in fine vertical lines