English

NesTools: A Dataset for Evaluating Nested Tool Learning Abilities of Large Language Models

Computation and Language 2025-01-08 v2

Abstract

Large language models (LLMs) combined with tool learning have gained impressive results in real-world applications. During tool learning, LLMs may call multiple tools in nested orders, where the latter tool call may take the former response as its input parameters. However, current research on the nested tool learning capabilities is still under-explored, since the existing benchmarks lack relevant data instances. To address this problem, we introduce NesTools to bridge the current gap in comprehensive nested tool learning evaluations. NesTools comprises a novel automatic data generation method to construct large-scale nested tool calls with different nesting structures. With manual review and refinement, the dataset is in high quality and closely aligned with real-world scenarios. Therefore, NesTools can serve as a new benchmark to evaluate the nested tool learning abilities of LLMs. We conduct extensive experiments on 22 LLMs, and provide in-depth analyses with NesTools, which shows that current LLMs still suffer from the complex nested tool learning task.

Keywords

Cite

@article{arxiv.2410.11805,
  title  = {NesTools: A Dataset for Evaluating Nested Tool Learning Abilities of Large Language Models},
  author = {Han Han and Tong Zhu and Xiang Zhang and Mengsong Wu and Hao Xiong and Wenliang Chen},
  journal= {arXiv preprint arXiv:2410.11805},
  year   = {2025}
}

Comments

Accepted by COLING 2025

R2 v1 2026-06-28T19:22:56.303Z