mlsanityData to 14 Oct 2026

Dynamic Tool Dependency Retrieval for Lightweight Function Calling

arXiv 2512.17052 ↗First posted 18 Dec 2025cs.LGcited by 7

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

Abstract (arXiv)

Function calling agents powered by Large Language Models (LLMs) select external tools to automate complex tasks. On-device agents typically use a retrieval module to select relevant tools, improving performance and reducing context length. However, existing retrieval methods rely on static and limited inputs, failing to capture multi-step tool dependencies and evolving task context. This limitation often introduces irrelevant tools that mislead the agent, degrading efficiency and accuracy. We propose Dynamic Tool Dependency Retrieval (DTDR), a lightweight retrieval method that conditions on both the initial query and the evolving tool calling plan. DTDR models tool dependencies from function calling demonstrations, enabling adaptive retrieval as plans unfold. We benchmark DTDR against state-of-the-art retrieval methods across multiple datasets and LLM backbones, evaluating retrieval precision, downstream task accuracy, and computational efficiency. Additionally, we explore strategies to integrate retrieved tools into prompts. Our results show that DTDR improves function calling success rates between 23% and 104% compared to state-of-the-art static retrievers.

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

Builds on

16 of 49 references.

Closest ancestors · 8

Same direction, newest first

  1. 2025Self-Guided Function Calling in Large Language Models via Stepwise Experience Recall21 Aug
  2. 2025Learning API Functionality from In-Context Demonstrations for Tool-based Agents30 May
  3. 2025On the Robustness of Agentic Function Calling1 Apr
  4. 2024TinyAgent: Function Calling at the Edge1 Sep
  5. 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs31 Jul
  6. 2023Gorilla: Large Language Model Connected with Massive APIs24 May
  7. 2023Making Language Models Better Tool Learners with Execution Feedback22 May
  8. 2023Toolformer: Language Models Can Teach Themselves to Use Tools9 Feb

Other references · 8

  1. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  2. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  3. 2025τ2-Bench: Evaluating Conversational Agents in a Dual-Control Environmentcited by 627
  4. 2023TaskBench: Benchmarking Large Language Models for Task Automationcited by 144
  5. 2024ToolNet: Connecting Large Language Models with Massive Tools via Tool Graphcited by 60
  6. 2025SciToolAgent: A Knowledge Graph-Driven Scientific Agent for Multi-Tool Integrationcited by 43
  7. 2024Efficient LLM Inference using Dynamic Input Pruning and Cache-Aware Maskingcited by 11
  8. 2025Tool Graph Retriever: Exploring Dependency Graph-based Tool Retrieval for Large Language Modelscited by 8

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 7.

7 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025GRETEL: A Goal-driven Retrieval and Execution-based Trial Framework for LLM Tool Selection Enhancing
  2. 2026Tools Are Not Islands: Set-Level Tool Retrieval for LLM Agents via Query-Conditioned Hyperedge Prediction
  3. 2026ToolChoiceConfusion: Causal Minimal Tool Filtering for Reliable LLM Agents
  4. 2026Lookahead-R: Budget-Aware Tool Retrieval via Execution-Centric Planning
  5. 2026Plan or Retrieve First? A Scale Study of Tool Discovery Architectures
  6. 2026Beyond Single-Shot: Multi-step Tool Retrieval via Query Planning
  7. 2025Dynamic System Instructions and Tool Exposure for Efficient Agentic LLMs
  8. 2026Semantic Tool Discovery for Large Language Models: A Vector-Based Approach to MCP Tool Selection