ToolRegistry: A Protocol-Agnostic Tool Management Library for Function-Calling LLMs

Peng Ding
7/11/2025
cs.SEcs.AIcs.CL

Official code: Oaklight/ToolRegistry (59 stars, MIT, last commit 2026-05-03).

Abstract

Large Language Model (LLM) applications are increasingly relying on external tools to extend their capabilities beyond text generation. However, current tool integration approaches suffer from fragmentation, protocol limitations, and implementation complexity, leading to substantial development overhead. This paper presents Toolregistry, a protocol-agnostic tool management library that simplifies tool registration, representation, execution, and lifecycle management via a unified interface. Our evaluation demonstrates that \toolregistry achieves 60-80% reduction in tool integration code, up to 3.1x performance improvements through concurrent execution, and 100% compatibility with OpenAI function calling standards. Real-world case studies show significant improvements in development efficiency and code maintainability across diverse integration scenarios. \toolregistry is open-source and available at https://github.com/Oaklight/ToolRegistry, with comprehensive documentation at https://toolregistry.readthedocs.io/.

View on arXivView PDF

Code Implementations(1)

MIT

ToolRegistry: A Protocol-Agnostic Tool Management Library for Function-Calling LLMs (OpenAI, Anthropic, Gemini, LangChain, MCP)

598HTML, PythonMar 21, 20255 months agoMIT
agentic-aiai-agentsai-toolsanthropicfunction-calling+10 more

Similar Papers

Cite this paper

@article{ding2025toolregistry,
  title  = {ToolRegistry: A Protocol-Agnostic Tool Management Library for Function-Calling LLMs},
  author = {Peng Ding},
  year   = {2025},
  eprint = {2507.10593},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.10593v1}
}

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/2507.10593.svg)](https://codeofpaper.com/paper/2507.10593)

Discussion