ToolFactory: Automating Tool Generation by Leveraging LLM to Understand REST API Documentations
Not on the map. Why?
Abstract (arXiv)
LLM-based tool agents offer natural language interfaces, enabling users to seamlessly interact with computing services. While REST APIs are valuable resources for building such agents, they must first be transformed into AI-compatible tools. Automatically generating AI-compatible tools from REST API documents can greatly streamline tool agent development and minimize user learning curves. However, API documentation often suffers from a lack of standardization, inconsistent schemas, and incomplete information. To address these issues, we developed ToolFactory, an open-source pipeline for automating tool generation from unstructured API documents. To enhance the reliability of the developed tools, we implemented an evaluation method to diagnose errors. Furthermore, we built a knowledge base of verified tools, which we leveraged to infer missing information from poorly documented APIs. We developed the API Extraction Benchmark, comprising 167 API documents and 744 endpoints in various formats, and designed a JSON schema to annotate them. This annotated dataset was utilized to train and validate ToolFactory. The experimental results highlight the effectiveness of ToolFactory. We also demonstrated ToolFactory by creating a domain-specific AI agent for glycomaterials research. ToolFactory exhibits significant potential for facilitating the seamless integration of scientific REST APIs into AI workflows.
Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). First posted on arXiv 28 Jan 2025.
Builds on
0 of 0 references.
No references here yet.
Built on by
Citing papers per year: 2025: 4; 2026: 4.
8 papers.
- 2025LLM-based Agents Suffer from Hallucinations: A Survey of Taxonomy, Methods, and Directionscited by 49
- 2025From REST to MCP: An Empirical Study of API Wrapping and Automated Server Generation for LLM Agentscited by 14
- 2025Advanced Tool Learning and Selection System (ATLASS): A Closed-Loop Framework Using LLMcited by 8
- 2025NaviAgent: Graph-Driven Bilevel Planning for Scalable Tool Orchestrationcited by 3
- 2026Skill2Query: Exploiting Skill Structure to Generate Pseudo-Queries for Agent Skill Retrievalcited by 2
- 2026HarnessAPI: A Skill-First Framework for Unified Streaming APIs and MCP Toolscited by 1
- 2026DADL: A Declarative Description Language for Enterprise Tool Libraries in LLM Agent Systemscited by 0
- 2026Improving Proficiency and Efficiency of Android GUI Agents via Self-Generating Tool Actionscited by 0
- 2026Improving Proficiency and Efficiency of Android GUI Agents via Self-Generating Tool Actions6 Sep 2026
- 2026Skill2Query: Exploiting Skill Structure to Generate Pseudo-Queries for Agent Skill Retrieval17 Aug 2026
- 2026HarnessAPI: A Skill-First Framework for Unified Streaming APIs and MCP Tools21 May 2026
- 2026DADL: A Declarative Description Language for Enterprise Tool Libraries in LLM Agent Systems4 May 2026
- 2025LLM-based Agents Suffer from Hallucinations: A Survey of Taxonomy, Methods, and Directions23 Sep 2025
- 2025From REST to MCP: An Empirical Study of API Wrapping and Automated Server Generation for LLM Agents21 Jul 2025
- 2025NaviAgent: Graph-Driven Bilevel Planning for Scalable Tool Orchestration24 Jun 2025
- 2025Advanced Tool Learning and Selection System (ATLASS): A Closed-Loop Framework Using LLM13 Mar 2025