atlas

Research map / Large language models / Agents, code and math

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

NeurIPS 2026 · Large language models › Agents, code and math · approach: Software engineering agents · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces When2Tool, an 18-environment benchmark for tool-call necessity, shows tool necessity is linearly decodable from pre-generation hidden states (AUROC 0.89-0.96), and proposes Probe&Prefill, which steers tool-call decisions by prefilling a sentence based on a linear probe.

Problem

LLM agents call tools indiscriminately even when they can answer directly, wasting API cost and latency; existing benchmarks do not study when a tool call is actually necessary, and prompt or reasoning-based controls are coarse and costly.

Approach

Tool necessity is linearly decodable from the last-input-token hidden state; a lightweight linear probe trained on binary necessity labels drives a prefilled steering sentence that controls whether the model calls a tool, giving a tunable accuracy-efficiency tradeoff without reasoning tokens.

Key results

Surprising findings

Limitations

Experimental setup

Datasets: When2Tool

Benchmarks: When2Tool Search-o1

Metrics: accuracy total tool calls AUROC accuracy cost per saved call

Baselines: Prompt-only Reason-then-Act SFT

Builds on: ReAct Reflexion Toolformer Search-o1

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy