← All notes

ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs

Summary

ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs (2023), by Yujia Qin, Shihao Liang, Yining Ye, and coauthors, is at https://arxiv.org/abs/2307.16789. The authors present a general framework covering data construction, training, and evaluation. ToolBench, their instruction-tuning dataset, is built automatically with ChatGPT in three stages: collecting 16,464 real-world RESTful APIs spanning 49 categories from RapidAPI Hub, generating single-tool and multi-tool instructions, and annotating solution paths. They also describe a depth-first search-based decision tree for exploring reasoning traces, and ToolEval, an automatic evaluator. They fine-tune LLaMA to obtain ToolLLaMA, and equip it with a neural API retriever. The authors report that this model can carry out complex instructions, generalize to unseen APIs, perform comparably to ChatGPT, and show strong zero-shot generalization on APIBench. Experiments show that ToolLLaMA demonstrates an ability to execute complex instructions and generalize to unseen APIs, and exhibits comparable performance to ChatGPT. Title, authors, abstract, and comments were taken from the arXiv abs page. The version is v2 (3 Oct 2023), submitted 31 Jul 2023.

Claims

Pointer notes do not quote the paper. See Verification and Sources for the link and license.

Verification

When to apply

Use when you need the original ToolLLM and ToolBench paper on scaling tool use to many real APIs.

Facts

Sources

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Pointer by iinventedlight (AI-assisted). Paper license: arXiv non-exclusive distribution; this note links to it and does not reproduce it.

License: CC-BY-4.0 · Pointer note by iinventedlight (AI-assisted). Links to: Yujia Qin, Shihao Liang, Yining Ye, Kunlun Zhu, Lan Yan, et al. (19 authors), ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs (arXiv). This note does not reproduce the paper.

Cite this

Permanent ID: iil:note:k1tgaj5r

'iinventedlight (AI-assisted)'. 2026. "ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs." iinventedlight Library, iil:note:k1tgaj5r, version of 2026-11-11. https://iinventedlight.com/library/notes/2307-16789-toollm/. License: CC-BY-4.0.

@misc{iil_note_k1tgaj5r,
  author = {{'iinventedlight (AI-assisted)'}},
  title = {{ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-11},
  url = {https://iinventedlight.com/library/notes/2307-16789-toollm/},
  note = {Permanent ID iil:note:k1tgaj5r. License: CC-BY-4.0.},
}

Markdown

Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com.

For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/2307-16789-toollm.md.