ToolQA: A Dataset for LLM Question Answering with External Tools

Yuchen Zhuang, Yue Yu, Kuan Wang, Haotian Sun, Chao Zhang
2/12/2026

No official code found. Best implementation: night-chen/ToolQA (286 stars, Apache-2.0, last commit 2023-08-19).

Abstract

Large Language Models (LLMs) have demonstrated impressive performance in various NLP tasks, but they still suffer from challenges such as hallucination and weak numerical reasoning. To overcome these challenges, external tools can be used to enhance LLMs' question-answering abilities. However, current evaluation methods do not distinguish between questions that can be answered using LLMs' internal knowledge and those that require external information through tool use. To address this issue, we introduce a new dataset called ToolQA, which is designed to faithfully evaluate LLMs' ability to use external tools for question answering. Our development of ToolQA involved a scalable, automated process for dataset curation, along with 13 specialized tools designed for interaction with external knowledge in order to answer questions. Importantly, we strive to minimize the overlap between our benchmark data and LLMs' pre-training data, enabling a more precise evaluation of LLMs' tool-use reasoning abilities. We conducted an in-depth diagnosis of existing tool-use LLMs to highlight their strengths, weaknesses, and potential improvements. Our findings set a new benchmark for evaluating LLMs and suggest new directions for future advancements. Our data and code are freely available to the broader scientific community on GitHub.

View on arXivView PDF

Code Implementations(1)

night-chen/ToolQACommunity100%
Apache-2.0

ToolQA, a new dataset to evaluate the capabilities of LLMs in answering challenging questions with external tools. It offers two levels (easy/hard) across eight real-life scenarios.

28614Shell, PythonJun 6, 20233 years agoApache-2.0
large-language-modelsnatural-language-understandingnatural-lauguage-processingquestion-answeringtools

Similar Papers

Cite this paper

@article{zhuang2026toolqa,
  title  = {ToolQA: A Dataset for LLM Question Answering with External Tools},
  author = {Yuchen Zhuang and Yue Yu and Kuan Wang and Haotian Sun and Chao Zhang},
  year   = {2026},
  eprint = {2306.13304},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/pdf/2306.13304},
  journal = {NEURIPS 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2306.13304.svg)](https://codeofpaper.com/paper/2306.13304)

Discussion