arXiv:2610.17125cs.CLOct 2026

Manuscript Offprint

arXiv:2610.17125

ToolHACE: A Dataset for Detecting Hallucinations in Tool-Based LLM Responses

Nikolay Ivanov, Sergey Pletenev, Elisei Rykov, Anatolii Frolov, Bogdan Monogov, Alexander Potekhin, Maria Marina, Daniil Moskovskiy, Viktor Moskvoretskii, Alexander Panchenko, Ilseyar Alimova

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Tool-augmented language models ground their responses in external tool outputs, improving reliability beyond parametric knowledge alone. However, even when the correct tool is called and returns accurate information, models may still contradict such outputs, omit critical details, or generate unsupported claims. Existing hallucination benchmarks for tool-augmented dialogue primarily focus on the tool-calling stage, evaluating whether the correct tool and arguments are selected, while overlooking errors that arise during post-tool response generation. To address this gap, we introduce ToolHACE, a span-level benchmark for hallucination detection in tool-augmented LLM responses, covering five fine-grained hallucination categories. Through extensive experiments with modern hallucination detectors, we show that post-tool-call hallucinations are widespread and remain challenging to detect. Our results further demonstrate that effective detection requires training on specialized tool-augmented corpora, while transfer from tool-agnostic hallucination datasets performs poorly in this setting. These findings highlight the need for dedicated benchmarks and models for reliable hallucination detection in tool-augmented language systems.

1 Introduction

Large language models (LLMs) are increasingly used as the reasoning core of tool-augmented agents, where the model decides when to call external APIs, search engines, calculators, or databases, and then synthesizes a final natural-language response based on the tool outputs (Patil et al., 2024, 2025). During the operation of such systems, various errors may arise, including incorrect tool selection (e.g., calling a search engine instead of a calculator), wrong tool arguments (malformed or incomplete inputs), missing tool invocation when external

Figure

Figure 1: Main types of generation errors in tool-augmented LLM responses. A model can produce a correct answer, contradict the tool output, add unsupported information, omit a tool-provided fact, or introduce an unrelated tool/action request.

tools are required, incorrect tool-use sequencing leading to inconsistent or unusable outputs, and incorrect processing of tool outputs, where the model misinterprets or fails to properly incorporate the tool response.

Most existing work on tool-augmented LLMs focuses on building large-scale benchmarks for tool calling itself, evaluating whether the model selects the correct API and provides valid arguments, while treating the final natural-language response as out of scope (Patil et al., 2024; Liu et al., 2025; Patil et al., 2025; Ye et al., 2025; Huang et al., 2024; Zhang et al., 2024). However models may still hallucinate in their final response and fail to properly utilize the tool output, resembling retrieval augmented generation (RAG) pitfalls. We refer to these as post-tool-call hallucinations: errors that occur after the right tool has been invoked, in the

∗^{*}These authors contributed equally to this work.

ResourceTool-calling settingSpan-level hallucination labels
ToolBench, BFCL, ToolACE, APIBench,✓×
APIGen, ToolAlpaca, StableToolBench,✓×
ToolHop, T-Eval, MetaTool✓×
ToolEmu, InjecAgent, ToolBH✓×
RAGTruth, FAVA, PsiloQA, HAD×✓
Ours (ToolHACE)✓✓

Table 1: Existing resources cover either the tool-calling setting or span-level hallucination annotation, but not both. Our resource combines them.

natural-language response that the user actually reads. Detecting them requires evaluating the final response against the returned tool output, which is not addressed by existing tool-calling benchmarks.

To evaluate how well models can detect such hallucinations, we introduce ToolHACE, a dataset for detecting ungrounded generations in tool-augmented LLMs. Our dataset is built on top of ToolACE (Liu et al., 2025) and annotated at the span level with five categories: Correct, Answer Mismatch, Overgeneration, Undergeneration, and Missing Tool, as illustrated in Figure 1. We benchmark a range of modern hallucination detectors, including zero-shot prompted LLMs, encoder-based models trained on general-purpose hallucination corpora, and detectors fine-tuned on our dataset. Our results show that (i) post-tool-call hallucinations are widespread in modern tool-augmented LLMs, (ii) detectors trained solely on tool-agnostic hallucination data transfer poorly to this setting, and (iii) training on in-domain tool-calling data substantially reduces this performance gap.

Our contributions are:

  • We introduce a new span-level dataset for detecting hallucinations in the post-tool-call stage of tool-augmented LLMs.

  • We benchmark a range of state-of-the-art methods and modern LLM-based hallucination detectors on the proposed dataset.

  • We evaluate the effectiveness of transferring knowledge from hallucination detection in RAG systems to the tool-augmented setting.