Before Retrieval Begins: Safety and Tool-Use Decisions in LLM Agents
Abstract
Large language models increasingly act as agents that call external tools, yet most tool-safety research examines only what follows a tool call. The prior decision of whether to call the tool remains largely unexamined and can influence downstream safety. Across the seven open-weight models, the unweighted model-average harm rate after admitted harmful requests is 74.5%. To identify what governs this decision, we apply a factorial intervention to the input request. Within our generated construction, neutralizing the requested-operation component produces the largest admission contrast (19 pp). A linear direction estimated from this contrast influences held-out admission in four of seven models; effects on operation-neutralized requests in some models show that it is not an operation-specific mechanism. We then test whether written refusal is behaviorally and representationally coupled to the same decision. Written refusal accompanies 33.6% of admitted harmful calls. Plain-text refusal training reduces unsafe admission in models that retain benign tool use, showing that response-level safety training can transfer to the call decision. Together, these results establish a partial, model-dependent relation between written refusal and tool admission. They motivate direct evaluation and supervision of tool admission rather than treating text refusal as its proxy.
Create a lesson
Metadata
- Comments
- 19 pages, 5 figures. Preprint version of a manuscript submitted to Transactions of the Association for Computational Linguistics (TACL)
Related papers
Memories That Outlive Their Reasons: Dependency-Tethered Memory for Tool-Using LLM Agents
Shared title terminologycs.CLYiqi Wang, Jinqian Ju, Jiaqi Zhang et al.
Ignored, Not Refused: What Low Prompt-Injection Success Rates Hide in Small Tool-Using Agents
Shared title terminologycs.CLFarhan Zarif, Kazi Shahid Ahmed Galib, Synthia Akter Promi et al.
Disentangling Language Effects on Tool Admission and Post-Retrieval Safety
Shared title terminologycs.CLAditya Nawal, Manit Baser, Mohan Gurusamy
ToolSmith: An Automatic Tool-Generation Framework for Multimodal Search Agents
Shared title terminologycs.CLRui Sun, Junhua Huang, Luca Zancato et al.
Retrieval-Augmented Generation in the Agentic Era: Tradition, Present, and Prospect
Shared title terminologycs.CLChenming Tang, Haolin Li, Yiran Li et al.
Heartbeat Thinking: Speculative Reasoning and Tool Execution While Listening in Realtime Voice Agents
Shared title terminologycs.CLZhenyu Zhang, Kewei Fu, Yongqi Tong et al.