arXiv:2509.11626cs.SEcs.AI2025-09AAAI被引 5

自动将企业API转化为LLM可用工具,提升调用准确率

Automated Creation and Enrichment Framework for Improved Invocation of Enterprise APIs as Tools

  • 自动生成带参数说明和示例的工具规范
  • 运行时动态筛选相关工具,减少提示复杂度25%以上
  • 适合需要对接复杂API的企业AI agent开发者

大型语言模型(LLMs)的发展催生了具备复杂推理与外部工具交互能力的智能体。在企业场景中,应用编程接口(API)虽广泛使用,但因文档质量差、输入输出结构复杂及操作数量庞大,导致工具选择困难,使有效请求生成准确率下降高达25%。本文提出ACE框架,实现企业API到LLM兼容工具的自动化创建与增强。该框架(i)生成包含参数描述与使用示例的增强型工具规范,提升工具选择与调用准确性;(ii)引入运行时动态短名单机制,实时过滤相关工具,降低提示复杂度的同时保持可扩展性。我们在专有及开源API上验证了该框架,并展示了其与智能体框架的集成能力。据我们所知,ACE是首个端到端自动化企业API工具创建、增强与动态选择的框架。

原文摘要 · Abstract (English)

Recent advancements in Large Language Models (LLMs) has lead to the development of agents capable of complex reasoning and interaction with external tools. In enterprise contexts, the effective use of such tools that are often enabled by application programming interfaces (APIs), is hindered by poor documentation, complex input or output schema, and large number of operations. These challenges make tool selection difficult and reduce the accuracy of payload formation by up to 25%. We propose ACE, an automated tool creation and enrichment framework that transforms enterprise APIs into LLM-compatible tools. ACE, (i) generates enriched tool specifications with parameter descriptions and examples to improve selection and invocation accuracy, and (ii) incorporates a dynamic shortlisting mechanism that filters relevant tools at runtime, reducing prompt complexity while maintaining scalability. We validate our framework on both proprietary and open-source APIs and demonstrate its integration with agentic frameworks. To the best of our knowledge, ACE is the first end-to-end framework that automates the creation, enrichment, and dynamic selection of enterprise API tools for LLM agents.

API增强智能体LLM工具

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。