Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

OpaqueToolsBench: Learning Nuances of Tool Behavior Through Interaction

About

Tool-calling is essential for Large Language Model (LLM) agents to complete real-world tasks. While most existing benchmarks assume simple, perfectly documented tools, real-world tools (e.g., general "search" APIs) are often opaque, lacking clear best practices or failure modes. Can LLM agents improve their performance in environments with opaque tools by interacting and subsequently improving documentation? To study this, we create OpaqueToolsBench, a benchmark consisting of three distinct task-oriented environments: general function calling, interactive chess playing, and long-trajectory agentic search. Each environment provides underspecified tools that models must learn to use effectively to complete the task. Results on OpaqueToolsBench suggest existing methods for automatically documenting tools are expensive and unreliable when tools are opaque. To address this, we propose a simple framework, ToolObserver, that iteratively refines tool documentation by observing execution feedback from tool-calling trajectories. Our approach outperforms existing methods on OpaqueToolsBench across datasets, even in relatively hard settings. Furthermore, for test-time tool exploration settings, our method is also efficient, consuming 3.5-7.5x fewer total tokens than the best baseline.

Skyler Hallinan, Thejas Venkatesh, Xiang Ren, Sai Praneeth Karimireddy, Ashwin Paranjape, Yuhao Zhang, Jack Hessel• 2026

Related benchmarks

TaskDatasetResultRank
Function CallingBFCL Individual Tools per Problem
Execution Accuracy86
30
Documentation GenerationBFCL Opaque
Semantic Similarity78
12
Tool UseBrowseComp Domain-specific (9) Search
Accuracy21.9
10
Tool UseBrowseComp Domains (Domain-specific (9) + Full Search)
Accuracy22.1
10
Tool selectionChess Specialists: opening, midgame, endgame, late-endgame
Accuracy40.1
10
Tool selectionChess Skill: beginner, intermediate, advanced
Accuracy29.1
10
Showing 6 of 6 rows

Other info

Follow for update