mlsanityData to 7 Oct 2026

Risk-Aware Reranking for Agentic Tool Retrieval

arXiv 2608.22751 ↗First posted 24 Aug 2026cs.IRcited by 2

On the map: LLM agents and tool use → Tool learning and function calling

Abstract (arXiv)

Tool retrieval determines which external tools are exposed to an LLM agent for a user query or task, making retrieval a critical pre-execution safety boundary. Unlike document retrieval, tool retrieval exposes executable actions: a tool that is useful for one task may be unnecessary or risky for another. However, existing tool-retrieval methods primarily optimize semantic relevance, and safety evaluations often focus on failures after tool execution rather than risks introduced during retrieval. We study risk-aware tool retrieval, where the goal is to retrieve useful tools while reducing exposure to higher-risk tools. We propose a lightweight reranking framework on top of a frozen first-stage retriever. The framework models query-conditioned relevance and tool-level exposure risk separately, combines them through an explicit parameter controlling the tradeoff between safety and utility, smooths scores over a ToolGraph, and optionally applies rule-based safety constraints. To support retrieval-time safety evaluation, we annotate 6,108 tools across UltraTool and Seal-Tools with five ordinal risk levels and define metrics that measure risky-tool exposure in the top-k results. Experiments on UltraTool and Seal-Tools show that our approach improves the relevance--safety tradeoff over relevance-only retrievers and reranking baselines, with the rule-filtered variant providing a conservative operating point for safety-critical deployments. These findings indicate that retrieval-stage filtering can reduce the candidate action space exposed to agents before execution, complementing downstream tool-use safeguards. The code and supplementary materials are available at: https://github.com/qli447/risk-aware-tool-retrieval-release.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Placed in Tool learning and function calling, one of 16 directions in LLM agents and tool use. Builds on 22 of its 30 references that are in the map. First posted on arXiv 24 Aug 2026.

Builds on

22 of 30 references.

Closest ancestors · 5

Same direction, newest first

  1. 2025ToolDreamer: Instilling LLM Reasoning Into Tool Retrievers22 Oct
  2. 2025Retrieval Models Aren't Tool-Savvy: Benchmarking Tool Retrieval for Large Language Models3 Mar
  3. 2024Seal-Tools: Self-Instruct Tool Learning Dataset for Agent Tuning and Detailed Benchmark14 May
  4. 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs31 Jul
  5. 2023Gorilla: Large Language Model Connected with Massive APIs24 May

Other references · 17

  1. 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,414
  2. 2023HuggingGPT: Solving AI Tasks with ChatGPT and its Friends in Hugging Facecited by 1,173
  3. 2024Qwen2.5-Coder Technical Reportcited by 1,151
  4. 2023C-Pack: Packed Resources For General Chinese Embeddingscited by 556
  5. 2023Identifying the Risks of LM Agents with an LM-Emulated Sandboxcited by 514
  6. 2024AgentHarm: A Benchmark for Measuring Harmfulness of LLM Agentscited by 406
  7. 2020Document Ranking with a Pretrained Sequence-to-Sequence Modelcited by 373
  8. 2024Agent-SafetyBench: Evaluating the Safety of LLM Agentscited by 280
  9. 2024R-Judge: Benchmarking Safety Risk Awareness for LLM Agentscited by 268
  10. 2024RankRAG: Unifying Context Ranking with Retrieval-Augmented Generation in LLMscited by 200
  11. 2017FA*IR: A Fair Top-k Ranking Algorithmcited by 113
  12. 2025SafeArena: Evaluating the Safety of Autonomous Web Agentscited by 97
5 more
  1. 2024Planning, Creation, Usage: Benchmarking LLMs for Comprehensive Tool Utilization in Real-World Complex Scenarioscited by 85
  2. 2025Video-Bench: Human-Aligned Video Generation Benchmarkcited by 53
  3. 2024Re-Invoke: Tool Invocation Rewriting for Zero-Shot Tool Retrievalcited by 50
  4. 2024ToolRerank: Adaptive and Hierarchy-Aware Reranking for Tool Retrievalcited by 40
  5. 2026GIFT: LLM-Guided State-Reward Interface for Financial Reinforcement Learningcited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Relevance as a Vulnerability: How Web Retrieval Degrades Safety Alignment in LLM Agents
  2. 2025GRETEL: A Goal-driven Retrieval and Execution-based Trial Framework for LLM Tool Selection Enhancing
  3. 2026ToolChain-CRC: Conformal Risk Control for Agentic AI Under Retrieval and Tool-Use Drift
  4. 2026ToolChoiceConfusion: Causal Minimal Tool Filtering for Reliable LLM Agents
  5. 2026Tools Are Not Islands: Set-Level Tool Retrieval for LLM Agents via Query-Conditioned Hyperedge Prediction
  6. 2026Extracting Knowledge from Tools in LLM Agents
  7. 2026Beyond Single-Shot: Multi-step Tool Retrieval via Query Planning
  8. 2026ToolMenuBench: Benchmarking Tool-Menu Filtering Strategies for Reliable and Efficient LLM Agents