The Calls are Coming from Inside the Model: Investigating Probe-based Detection of Tool-Calling Errors in LLMs

Eric Yeats, Brendan Kennedy, Loc Truong, John Buckheit, Jung Lee +3 more
8/27/2026
cs.LGcs.CL

No confident code implementation found for this paper.

Abstract

The hidden states of large language models (LLMs) are known to capture rich information relating to model knowledge and behavior that can be hard to extract from examination of input and output alone. As LLM-based systems increasingly interface with the external world, one area of concern is detecting incorrect or improper use of tools.

Show full abstract

Motivated by this, we study the effectiveness of using linear probes to detect incorrect tool-calls, measuring probe efficacy across 18 tool-calling LLMs evaluated on the Berkeley Function Calling Leaderboard. Overall, we find that probing is an effective means to catch a range of different tool-calling errors, including errors arising from using an argument that has the wrong value but the correct type, which might not be recorded by standard logging frameworks. Important factors in success include model size, probing layer, and model post-training type. We also show that probes are capable of generalizing to novel types of errors, which is critical in real world deployments.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yeats2026calls,
  title  = {The Calls are Coming from Inside the Model: Investigating Probe-based Detection of Tool-Calling Errors in LLMs},
  author = {Eric Yeats and Brendan Kennedy and Loc Truong and John Buckheit and Jung Lee and Jesse Friedbaum and John Emanuello and Henry Kvinge},
  year   = {2026},
  eprint = {2608.27750},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.27750v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.27750.svg)](https://codeofpaper.com/paper/2608.27750)

Discussion