← All papers  /  Oct 20, 2026
Agents · Evaluation · Safety

Behavior Beyond Text: Evaluating Refusal Transfer Failure in LLM Agents

First page
Behavior Beyond Text: Evaluating Refusal Transfer Failure in LLM Agents
The curator’s take

Ekagra Gupta, Raj Saha (Harvard) and colleagues test whether models that refuse a harmful request in chat also refuse to carry it out through tools, and look for the cause in the residual stream.

Ask this paper

Key points
01

Benchmark. 2,304 prompts in matched triplets across four domains: the same request as text-only, standard tool-enabled and adversarially framed tool-enabled, scored against 20 forbidden actions.

02

Refusals do not transfer. With standard tool prompting, 10-52% of harmful requests that a model refuses in chat produce unsafe tool calls, across five models.

03

Mechanism. Activation along a refusal direction drops in tool-enabled contexts for four of five models, and lower activation predicts unsafe calls in all five (AUC 0.76-0.86).

04

Partial fix only. Patching the activation back to its text-only value prevents only some unsafe calls, mostly by suppressing tool use; steering strong enough to remove them also blocks benign tool use or degrades output. Tool-agent safety evals need to inspect actions, not just text.

Abstract

While large language models are increasingly deployed as tool-calling agents, their safety evaluations still focus primarily on their ability to refuse harmful requests in text. We investigate whether the refusal behavior in text transfers to tool use. We construct a benchmark of 2,304 prompts across four domains, consisting of matched triplets that present the same harmful or benign request in text-only, standard tool-enabled, and adversarially framed tool-enabled settings. We then assess tool-call safety using 20 predefined forbidden actions. Testing five models of varying sizes and families, we find that requests refused in text frequently result in unsafe tool calls. Under standard tool-enabled prompting, this divergence occurs for 10-52 percent of harmful requests refused in chat. To mechanistically investigate this gap, we identify a refusal-associated direction in the residual stream of each of the five models. We find that in tool-enabled contexts, the activations along this direction decrease in four of five models. Furthermore, lower activation predicts unsafe tool calls across all five models (AUC 0.76-0.86). However, restoring the signal to the respective text-only value through activation patching only prevents a subset of unsafe calls, primarily by suppressing tool use rather than by producing safer calls. Steering along the refusal direction nearly eliminates unsafe calls only at strengths that also suppress benign tool use or degrade the output quality. Our findings indicate that the identified refusal direction contributes to whether a model acts, but only partially explains the refusal divergence. Therefore, evaluating the safety of tool-calling agents requires directly examining their actions along with their textual responses.

Every Monday
Get next week’s papers.
Subscribe on Substack