TagOut:安全限制 Agent 工具且不过度拒答、不虚假承诺
TagOut: Safely Restricting Agent Tools Without Over-Refusal or False Promises
AI 导读
研究者提出 TagOut,一种免训练的运行时防御方法,在受限 Agent 会话中强制执行单一允许工具列表:移除被禁工具定义,并附加简短提示说明不可用功能及替代方案。在三个 Agent 域的评测中,TagOut 实现零受限工具调用并消除虚假承诺;相比提示词禁令,它能将无效拒绝转化为有用回复,在 OR-Bench-Hard 上的误拒率甚至低于无限制 Agent。
正文 · 原文
Abstract:AI agents often run in restricted sessions where some tools must stay off, like a temporary chat without memory or a read-only mode. Banning an attached tool in the prompt often causes models to refuse harmless requests or call it anyway. Silently hiding the tool leaves the model unaware of the limit, so it may confidently promise actions it cannot perform. We introduce TagOut, a training-free defense that enforces a single allowed-tool list at runtime while updating what the model sees. It drops restricted tool definitions and adds a brief redirect notice explaining what is unavailable and how to help instead. Across three agent domains, TagOut executes zero restricted calls and eliminates false promises. Compared with prompt bans, it turns dead ends into helpful responses and lowers OR-Bench-Hard false refusals even below an unrestricted agent.
| Comments: | 61 pages (17 pages main text and references, 44 pages appendices), 3 figures |
| Subjects: | Artificial Intelligence (cs.AI); Computation and Language (cs.CL) |
| Cite as: | arXiv:2612.04470 [cs.AI] |
| (or arXiv:2612.04470v1 [cs.AI] for this version) | |
| https://doi.org/10.48550/arXiv.2612.04470 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Sudhanshu Jaiswal [view email]
[v1]
Wed, 2 Dec 2026 18:17:11 UTC (999 KB)
来源:arXiv cs.AI · arxiv.org