paper-with-me

홈 › Papers

ToolFuzz -- Automated Agent Tool Testing

2025-03-06 · Ivan Milev, Mislav Balunović, Maximilian Baader, Martin Vechev

Large Language Model (LLM) Agents leverage the advanced reasoning capabilities of LLMs in real-world applications. To interface with an environment, these agents often rely on tools, such as web search or database APIs. As the agent provides the LLM with tool documentation along the user query, the completeness and correctness of this documentation is critical. However, tool documentation is often over-, under-, or ill-specified, impeding the agent's accuracy. Standard software testing approaches struggle to identify these errors as they are expressed in natural language. Thus, despite its importance, there currently exists no automated method to test the tool documentation for agents. To address this issue, we present ToolFuzz, the first method for automated testing of tool documentations. ToolFuzz is designed to discover two types of errors: (1) user queries leading to tool runtime errors and (2) user queries that lead to incorrect agent responses. ToolFuzz can generate a large and diverse set of natural inputs, effectively finding tool description errors at a low false positive rate. Further, we present two straightforward prompt-engineering approaches. We evaluate all three tool testing approaches on 32 common LangChain tools and 35 newly created custom tools and 2 novel benchmarks to further strengthen the assessment. We find that many publicly available tools suffer from underspecification. Specifically, we show that ToolFuzz identifies 20x more erroneous inputs compared to the prompt-engineering approaches, making it a key component for building reliable AI agents.

📄 PDF Abstract BibTeX arXiv:2503.04479

Code (0)

등록된 구현이 없습니다.

Tasks

Large Language ModelPrompt Engineeringsoftware testing

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically

Similar Papers 제목 키워드 기반

MIMIC-Py: An Extensible Tool for Personality-Driven Automated Game Testing with Large Language Models

2026-04-09 · Yifei Chen, Sarra Habchi, Lili Wei arxiv

Modern video games are complex, non-deterministic systems that are difficult to test automatically at scale. Although prior work shows that personality-driven Large Language Model (LLM) agents can improve behavioural div…

You Name It, I Run It: An LLM Agent to Execute Tests of Arbitrary Projects

2024-12-13 · Islem Bouzenia, Michael Pradel

The ability to execute the test suite of a project is essential in many scenarios, e.g., to assess code quality and code coverage, to validate code changes made by developers or automated tools, and to ensure compatibili…

Large Language Model

Agent-Testing Agent: A Meta-Agent for Automated Testing and Evaluation of Conversational AI Agents

2025-08-24 · Sameer Komoravolu, Khalil Mrini arxiv

LLM agents are increasingly deployed to plan, retrieve, and write with tools, yet evaluation still leans on static benchmarks and small human studies. We present the Agent-Testing Agent (ATA), a meta-agent that combines …

Gimitest: A Comprehensive Tool for Testing Reinforcement Learning Policies

2026-07-08 · Dennis Gross, Quentin Mazouni, Helge Spieker, Arnaud Gotlieb arxiv

Reinforcement learning (RL) policies can be unsafe and vulnerable to attacks. Ensuring their reliability is often a pain point as existing automated testing methods target only selected environments, testing scenarios, a…

Reinforcement Learning

AI Agents for Web Testing: A Case Study in the Wild

2025-09-05 · Naimeng Ye, Xiao Yu, Ruize Xu, Tianyi Peng 외 arxiv

Automated web testing plays a critical role in ensuring high-quality user experiences and delivering business value. Traditional approaches primarily focus on code coverage and load testing, but often fall short of captu…