mlsanityData to 7 Oct 2026

LLM Agents Already Know When to Call Tools -- Even Without Reasoning

arXiv 2605.09252 ↗First posted 10 May 2026cs.CLcited by 17

On the map: LLM reasoning → Reasoning for agents, planning and code

also in 1 more
Abstract (arXiv)

Tool-augmented LLM agents tend to call tools indiscriminately, even when the model can answer directly. Each unnecessary call wastes API fees and latency, yet no existing benchmark systematically studies when a tool call is actually needed. We propose When2Tool, a benchmark of 18 environments (15 single-hop, 3 multi-hop) spanning three categories of tool necessity -- computational scale, knowledge boundaries, and execution reliability -- each with controlled difficulty levels that create a clear decision boundary between tool-necessary and tool-unnecessary tasks. We evaluate two families of training-free baselines: Prompt-only (varying the prompt to discourage unnecessary calls) and Reason-then-Act (requiring the model to reason about tool necessity before acting). Both provide limited control: Prompt-only suppresses necessary calls alongside unnecessary ones, and Reason-then-Act still incurs a disproportionate accuracy cost on hard tasks. To understand why these baselines fail, we probe the models' hidden states and find that tool necessity is linearly decodable from the pre-generation representation with AUROC 0.89--0.96 across six models, substantially exceeding the model's own verbalized reasoning. This reveals that models already know when tools are needed, but fail to act on this knowledge during generation. Building on this finding, we propose Probe&Prefill, which uses a lightweight linear probe to read the hidden-state signal and prefills the model's response with a steering sentence. Across all models tested, Probe&Prefill reduces tool calls by 48% with only 1.7% accuracy loss, while the best baseline at comparable accuracy only reduces 6% of tool calls, or achieves a similar tool call reduction but incurs a 5× higher accuracy loss. Our code is available at https://github.com/Trustworthy-ML-Lab/when2tool

Key facts. Cited by 17 papers in the map (data through 7 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 26 of its 29 references that are in the map. First posted on arXiv 10 May 2026.

Builds on

26 of 29 references.

References · 26

  1. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  2. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
  3. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
  4. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  5. 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 1,880
  6. 2022Language Models (Mostly) Know What They Knowcited by 1,783
  7. 2025Search-R1: Training LLMs to Reason and Leverage Search Engines with Reinforcement Learningcited by 1,371
  8. 2023Gorilla: Large Language Model Connected with Massive APIscited by 1,302
  9. 2024τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domainscited by 1,280
  10. 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,259
  11. 2023Representation Engineering: A Top-Down Approach to AI Transparencycited by 1,239
  12. 2022Discovering Latent Knowledge in Language Models Without Supervisioncited by 733
14 more
  1. 2023API-Bank: A Comprehensive Benchmark for Tool-Augmented LLMscited by 574
  2. 2025τ2-Bench: Evaluating Conversational Agents in a Dual-Control Environmentcited by 558
  3. 2026Terminal-Bench: Benchmarking Agents on Hard, Realistic Tasks in Command Line Interfacescited by 515
  4. 2025Search-o1: Agentic Search-Enhanced Large Reasoning Modelscited by 423
  5. 2023ToolQA: A Dataset for LLM Question Answering with External Toolscited by 273
  6. 2025DR Tulu: Reinforcement Learning with Evolving Rubrics for Deep Researchcited by 98
  7. 2024Concept Bottleneck Large Language Modelscited by 41
  8. 2025Alignment for Efficient Tool Calling of Large Language Modelscited by 17
  9. 2025ThinkEdit: Interpretable Weight Editing to Mitigate Overly Short Thinking in Reasoning Modelscited by 17
  10. 2025MigrationBench: Repository-Level Code Migration Benchmark from Java 8cited by 11
  11. 2026Toward Efficient Agents: Memory, Tool learning, and Planningcited by 11
  12. 2025Effective Skill Unlearning through Intervention and Abstentioncited by 8
  13. 2025ReflCtrl: Controlling LLM Reflection Efficiently via Representation Engineeringcited by 3
  14. 2026Steer2Edit: From Activation Steering to Component-Level Editingcited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 17.

17 papers.

Sort:

By area:

  1. 2026Phantom Guardrails: When Self-Improving Agent Harnesses Fix Failures That Never Happenedcited by 6
  2. 2026Exploring Agentic Tool-Calling Decisions via Uncertainty-Aligned Reinforcement Learningcited by 4
  3. 2026SPORK: Self-Speculative Forking to Accelerate Agentic LLM Inferencecited by 3
  4. 2026Preventing Premature Commitment in Coding Agents with an Evidence-Conditioned Execution Layercited by 3
  5. 2026ToolGate: Token-Efficient Pre-Call Control for Tool-Augmented Vision-Language Agentscited by 2
  6. 2026Scores Are Not Decisions: Cost-Aware Stopping for Tool Acquisition in LLM Agentscited by 2
  7. 2026Tool-Call Dependency Structure is Linearly Decodable in LLM Agent Residual Streamscited by 1
  8. 2026A Few Neurons Reveal When LLMs Misuse Tools: Sparse Detection and Selective Steering for Reliable Tool Usecited by 1
  9. 2026SkillGate: Training In-Policy Skill Selection in Long-Horizon Agentscited by 1
  10. 2026The Cold-Start Safety Gap in LLM Agentscited by 0
  11. 2026Prompt-Induced Waste in Coding Agents: Reasoning, Effort, Harness Design, and End-to-End Costcited by 0
  12. 2026When Tools Get in the Way: The Effect of Unnecessary Tool Availability on LLM Answeringcited by 0
5 more
  1. 2026PDEU-Bench: Benchmarking the Personalized Planning Lifecycle of Tool-Calling LLM Agentscited by 0
  2. 2026When Should Agents Check External State? Budgeting Observations for Stored Intentionscited by 0
  3. 2026What Can Component-Replacement Evidence Establish? A Critical Scoping Review of Local Decisions in LLM Agentscited by 0
  4. 2026HeadEdit: Calibrating Language Model Behavior Through the Frozen Unembedding Matrixcited by 0
  5. 2026Selection-Based Structured Reasoning: Toward Efficient Multimodal Search Agentscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2026Are Tools All We Need? Unveiling the Tool-Use Tax in LLM Agents
  2. 2026To Call or Not to Call: A Framework to Assess and Optimize LLM Tool Calling
  3. 2026Model-Adaptive Tool Necessity Reveals the Knowing-Doing Gap in LLM Tool Use
  4. 2026AgentJudgeBench: A Multi-Difficulty Benchmark for Evaluating LLM Judges on Agentic Tool-Calling
  5. 2026How Consistent Are LLM Agents? Measuring Behavioral Reproducibility in Multi-Step Tool-Calling Pipelines
  6. 2026The Evolution of Tool Use in LLM Agents: From Single-Tool Call to Multi-Tool Orchestration
  7. 2026Tunable Tool-Call Rates in LLM Agents via Representation Steering
  8. 2026ToolMenuBench: Benchmarking Tool-Menu Filtering Strategies for Reliable and Efficient LLM Agents