Conference paper · 2024 · Open access
ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs
International Conference on Learning Representations · Published 31 May 2024 · DOI 10.48550/arxiv.2307.16789
In brief
“ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs” is a 2024 conference paper by Qin, Yujia and 18 co-authors, published in International Conference on Learning Representations. OpenAlex counts 2,805 citations as of 26 November 2026, which puts it in the top 1% of works published in 2024 by citations. It is open access: the full text is free to read at International Conference on Learning Representations.
- Citations
- 2,805
- Most cited in
- 2026 (1,672)
- Field-weighted impact
- 182.51
- References
- 40
- Authors
- 19
Abstract
Despite the advancements of open-source large language models (LLMs), e.g., LLaMA, they remain significantly limited in tool-use capabilities, i.e., using external tools (APIs) to fulfill human instructions. The reason is that current instruction tuning largely focuses on basic language tasks but ignores the tool-use domain. This is in contrast to the excellent tool-use capabilities of state-of-the-art (SOTA) closed-source LLMs, e.g., ChatGPT. To bridge this gap, we introduce ToolLLM, a general tool-use framework encompassing data construction, model training, and evaluation. We first present ToolBench, an instruction-tuning dataset for tool use, which is constructed automatically using ChatGPT. Specifically, the construction can be divided into three stages: (i) API collection: we collect 16,464 real-world RESTful APIs spanning 49 categories from RapidAPI Hub; (ii) instruction generation: we prompt ChatGPT to generate diverse instructions involving these APIs, covering both single-tool and multi-tool scenarios; (iii) solution path annotation: we use ChatGPT to search for a valid solution path (chain of API calls) for each instruction. To enhance the reasoning capabilities of LLMs, we develop a novel depth-first search-based decision tree algorithm. It enables LLMs to evaluate multiple reasoning traces and expand the search space. Moreover, to evaluate the tool-use capabilities of LLMs, we develop an automatic evaluator: ToolEval. Based on ToolBench, we fine-tune LLaMA to obtain an LLM ToolLLaMA, and equip it with a neural API retriever to recommend appropriate APIs for each instruction. Experiments show that ToolLLaMA demonstrates a remarkable ability to execute complex instructions and generalize to unseen APIs, and exhibits comparable performance to ChatGPT. Our ToolLLaMA also demonstrates strong zero-shot generalization ability in an out-of-distribution tool-use dataset: APIBench.
Cite this paper
Formatted from the catalogue record. Check names, capitals and page numbers against the paper before you submit.
APA 7
Yujia, Q., Liang, S., Ye, Y., Zhu, K., Yan, L., Lu, Y., Lin, Y., Cong, X., Tang, X., Qian, B., Zhao, S., Lauren, H., Tian, R., Xie, R., Zhou, J., Gerstein, M., Li, D., Liu, Z., & Sun, M. (2024). ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs. International Conference on Learning Representations. https://doi.org/10.48550/arxiv.2307.16789
MLA 9
Yujia, Qin,, et al. “ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs.” International Conference on Learning Representations, 2024. https://doi.org/10.48550/arxiv.2307.16789.
Chicago
Yujia, Qin,, Shihao Liang, Yining Ye, Kunlun Zhu, Lan Yan, Yaxi Lu, Yankai Lin, et al. 2024. “ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs.” International Conference on Learning Representations. https://doi.org/10.48550/arxiv.2307.16789.
Harvard
Yujia, Q. et al. (2024) ‘ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs’, International Conference on Learning Representations. doi:10.48550/arxiv.2307.16789.
IEEE
Q. Yujia et al., “ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs,” International Conference on Learning Representations, 2024, doi: 10.48550/arxiv.2307.16789.
BibTeX
@inproceedings{yujia2024toolllm,
title = {{ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs}},
author = {Yujia, Qin, and Liang, Shihao and Ye, Yining and Zhu, Kunlun and Yan, Lan and Lu, Yaxi and Lin, Yankai and Cong, Xin and Tang, Xiangru and Qian, Bill and Zhao, Sihan and Lauren, Hong, and Tian, Runchu and Xie, Ruobing and Zhou, Jie and Gerstein, Mark and Li, Dahai and Liu, Zhiyuan and Sun, Maosong},
booktitle = {International Conference on Learning Representations},
year = {2024},
doi = {10.48550/arxiv.2307.16789},
url = {https://doi.org/10.48550/arxiv.2307.16789}
}
Download for a reference manager: BibTeX (.bib) · RIS for Zotero, Mendeley and EndNote (.ris)
Citations by year
| Year | Citations | Share of the best year |
|---|---|---|
| 2023 | 50 | |
| 2024 | 394 | |
| 2025 | 689 | |
| 2026 | 1,672 |
Its field-weighted citation impact is 182.51: it has been cited 182.51 times as often as the average work of the same field, type and year (1.00 is the world average).
Topic and keywords
Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
- tool use
- large language models
- instruction tuning
- LLaMA fine-tuning
- zero-shot generalization
Work with this paper
Most-cited papers in Computer Science
- ImageNet classification with deep convolutional neural networksAlex Krizhevsky, Ilya Sutskever, Geoffrey E. Hinton · Communications of the ACM · 2017 · 114,726 citations
- Long Short-Term MemorySepp Hochreiter, Jürgen Schmidhuber · Neural Computation · 1997 · 109,097 citations
- A Mathematical Theory of CommunicationClaude E. Shannon · Bell System Technical Journal · 1948 · 91,736 citations
- Deep learningYann LeCun, Yoshua Bengio, Geoffrey E. Hinton · Nature · 2015 · 90,226 citations
- Faster R-CNN: Towards Real-Time Object Detection with Region Proposal NetworksShaoqing Ren, Kaiming He, Ross Girshick and 1 more · IEEE Transactions on Pattern Analysis and Machine Intelligence · 2016 · 74,143 citations
Questions about this paper
How do I cite this paper in APA style?
Yujia, Q., Liang, S., Ye, Y., Zhu, K., Yan, L., Lu, Y., Lin, Y., Cong, X., Tang, X., Qian, B., Zhao, S., Lauren, H., Tian, R., Xie, R., Zhou, J., Gerstein, M., Li, D., Liu, Z., & Sun, M. (2024). ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs. International Conference on Learning Representations. https://doi.org/10.48550/arxiv.2307.16789
How many times has this paper been cited?
2,805 times, according to OpenAlex on 26 November 2026. Google Scholar and Scopus count different sets of sources, so their numbers differ.
Is this paper free to read?
Yes. It is open access at International Conference on Learning Representations: sign in and open the PDF from this page.
Who wrote this paper?
Qin, Yujia, Shihao Liang, Yining Ye, Kunlun Zhu, Lan Yan, Yaxi Lu, Yankai Lin, Xin Cong, Xiangru Tang, Bill Qian, Sihan Zhao, Hong, Lauren and 7 more.
What is the DOI of this paper?
10.48550/arxiv.2307.16789, permanently at https://doi.org/10.48550/arxiv.2307.16789. Sign in and open it from this page.
Bibliographic data from OpenAlex (CC0), last checked 26 November 2026. ResearchGuru does not host this paper; once you are signed in, the links open it at the publisher or the repository that does.