Probes Effectively Detect Tool-Calling Errors in Large Language Models

Eric Yeats, Brendan Kennedy, Loc Truong, John Buckheit, Jung Lee, Jesse Friedbaum, John Emanuello, Henry Kvinge· August 31, 2026 View original

Key takeaways

  • Linear probes can effectively detect various tool-calling errors in LLMs.
  • This method can catch subtle errors missed by traditional logging.
  • Model size, probing layer, and post-training type influence probe efficacy.
  • Probes show promise for generalizing to novel error types in real-world deployments.

Who benefits

Software DevelopmentCybersecurityAI EthicsFinancial ServicesHealthcare

Summary

This research explores using linear probes to detect incorrect tool-calls within large language models by examining their hidden states. The study found probing to be an effective method for catching various errors, including those with correct argument types but wrong values, which standard logging might miss.

Large Language Models (LLMs) are increasingly integrated with external tools, but ensuring their correct and safe interaction is a growing concern. This paper investigates a novel method for identifying errors in how LLMs call these tools, by analyzing the "hidden states" within the models themselves. These internal states often contain rich information not evident from just looking at inputs and outputs. The researchers employed linear probes to detect tool-calling errors across 18 different LLMs. They discovered that this probing technique is highly effective, even catching subtle errors where an argument has the correct data type but an incorrect value – a type of mistake often overlooked by conventional logging systems. Key factors influencing the success of probing include the model's size, the specific layer being probed, and the type of post-training applied to the model. Importantly, the probes demonstrated an ability to generalize and detect new, unseen error types, which is crucial for real-world deployments.

Why it matters

Professionals developing or deploying LLM-based systems can use this technique to improve the reliability and safety of tool-integrated AI applications, especially in critical domains.

How to implement this in your domain

  1. 1Explore integrating linear probing techniques into LLM development and testing pipelines.
  2. 2Develop internal tools to visualize and analyze hidden states for error detection.
  3. 3Train and evaluate probes on a diverse set of tool-calling scenarios and error types.
  4. 4Establish monitoring systems that leverage probe-based detection for real-time error identification in deployed LLMs.

Original post by Eric Yeats, Brendan Kennedy, Loc Truong, John Buckheit, Jung Lee, Jesse Friedbaum, John Emanuello, Henry Kvinge

"arXiv:2608.27750v1 Announce Type: new 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 increasing…"

View on X

Originally posted by Eric Yeats, Brendan Kennedy, Loc Truong, John Buckheit, Jung Lee, Jesse Friedbaum, John Emanuello, Henry Kvinge on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses