RTCBench: Evaluating Tool Use of Large Language Models Beyond Oracle Access

Qi Wei, Bo AnNeurIPS 2026 Evaluations and Datasets Track Poster 2026

TL;DR

Most benchmarks test whether an AI can call a tool when the exact right tool is already handed to it on a silver platter. RTCBench removes that safety net, forcing Large Language Models (LLMs) to actively search for the right tools in a massive, noisy repository before calling them. The authors show that even frontier models stumble when they have to find their own tools—but a small 4B-parameter model, post-trained on 13,278 synthesized expert trajectories, can jump from 47.9% to 85.8% accuracy, rivaling Gemini 3.1 Pro.

What Problem Does This Paper Address?

In standard tool-calling benchmarks like BFCL or API-Bank, the LLM's system prompt is pre-loaded with a small, curated list of fewer than ten tools—and the ground-truth tool is guaranteed to be in there. That’s a bit like testing a chef’s cooking skills by laying out the exact pre-measured ingredients for one recipe.

In real-world deployments, however, an agent might have access to thousands of APIs. Stuffing all of them into the prompt is expensive, slow, and noisy. Instead, practical systems use a retrieval-then-call paradigm: the model must realize it lacks the right tool, query an external tool bank, sift through semantically similar (and sometimes misleading) search results, and then execute the right function call. Until now, we lacked a rigorous, end-to-end benchmark to measure how well LLMs handle this entire messy pipeline.

Figure 1: Comparison previous tool-calling task with the retrieval-augmented tool-calling ones from the perspective of system prompt, where a retrieval tool named Search_tool is given to retrieve relevant tools from external tool banks.

Methods

RTCBench formalizes tool use as a two-phase, end-to-end loop:

  1. Retrieval Phase: Instead of seeing the target tool, the model is given a unified Search_tool interface. It must decide whether its current tools are enough; if not, it writes natural language queries to retrieve the top-$K$ candidates from a large tool bank (using either BM25 sparse retrieval or dense embeddings).
  2. Tool Call Phase: The retrieved tool definitions are added to the context, and the model must either invoke the correct tool with valid arguments or—if no suitable tool was found—honestly refuse rather than hallucinate.

To test models thoroughly, the authors evaluate them across four orthogonal axes: Tool-Calling Accuracy, Recall@k (whether the ground-truth tool was actually retrieved), Retrieval Usage (average number of searches), and Hallucination (skipping search when needed, or inventing "phantom" tools).

The RTCBench construction and evaluation pipeline

To fix the failures they uncovered, the authors also synthesized a post-training dataset using DeepSeek-V3.2. They generated chain-of-thought trajectories (<think> reasoning, search queries, real retrieval results, and final calls—plus negative examples teaching the model when to refuse) and filtered them with six rule-based checks and an LLM-as-a-judge (GPT-o4-mini). They then post-trained a Qwen3-4B-Instruct model in two stages: full-parameter Supervised Fine-Tuning (SFT) followed by Group Relative Policy Optimization (GRPO) with dense process rewards.

Datasets

  • RTCBench (New Benchmark): Built from two existing datasets, split into two difficulty levels and instantiated under two challenging environments—None (no tools in the prompt) and Distractor (5–10 topically related but incorrect tools sampled from ranks 20–30):
  • Level-1: 1,840 instances (920 validated single-turn tasks from BFCL $\times$ 2 environments) backed by a 1,039-tool bank.
  • Level-2: 1,000 instances (500 Chinese single-turn tasks from HammerBench's ST-Perfect subset $\times$ 2 environments) backed by a 1,063-tool bank of hierarchically named app-level APIs.
  • Expert Trajectory Corpus (New Training Data): 13,278 high-quality, retrieval-augmented tool-calling trajectories synthesized over the Level-1 tool bank, designed for SFT and reinforcement learning.

Key Insights and Ideas

  • Unreliable Tool Discovery: Even top frontier models don't always know when to search. For example, GPT-5.4 fails to consistently trigger Search_tool when the right tools are missing from the initial prompt, leading to avoidable failures before retrieval even happens.
  • High Recall $\neq$ High Accuracy (Post-Retrieval Grounding Failures): Finding the right tool in the search results isn't enough. Kimi K2.5 achieves 96.5% Recall@10 on Level-1, yet only 62.2% overall accuracy. Similarly, the baseline Qwen3-4B-Instruct hits 86.5% Recall@10 on Level-2, but scores just 12.3% accuracy. Models frequently get tripped up by near-duplicate or semantically overlapping candidates, calling the wrong tool or botching the arguments.
  • Small Models Can Punch Way Above Their Weight: With targeted retrieval-augmented post-training (SFT + GRPO), a 4B-parameter model can learn both when to search and how to ground its choices, outperforming much larger open-source models and matching frontier systems.

Key Results

  • Level-1 (BFCL-derived):
  • Gemini 3.1 Pro leads proprietary baselines at 83.4% overall accuracy (4.89‰ hallucination rate), followed by GPT-5.4 at 81.5%.
  • Qwen3-4B-Instruct (Ours) jumps from 47.9% to 85.8% overall accuracy—surpassing all evaluated baselines—while cutting its hallucination rate from 16.76‰ down to 2.9‰.
  • Level-2 (HammerBench-derived):
  • All models drop significantly on this harder, hierarchical API suite. Gemini 3.1 Pro tops the chart at 64.9% accuracy.
  • Qwen3-4B-Instruct (Ours) leaps from 12.3% to 56.5% accuracy, matching or beating much larger open-source models (like Qwen3.5-397B-A17B at 56.3%) while slashing hallucinations from 141‰ to 72‰.

Limitations and Future Work

  • Single-Turn Only: RTCBench currently evaluates single-turn interactions. In the real world, tool use is often multi-turn, where user intent evolves, previous tool outputs inform next steps, and models must decide when to re-trigger retrieval mid-conversation. Extending RTCBench to multi-turn scenarios is the authors' primary planned next step.

Summary updated

BibTeX
@inproceedings{wei2026rtcbench,
  author = {Qi Wei and Bo An},
  title = {{RTCBench: Evaluating Tool Use of Large Language Models Beyond Oracle Access}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=GvqAoUUnsn},
}
Figure