AnyTool: Self-Reflective, Hierarchical Agents for Large-Scale API Calls
On the map: LLM agents and tool use → Tool learning and function calling
Abstract (arXiv)
We introduce AnyTool, a large language model agent designed to revolutionize the utilization of a vast array of tools in addressing user queries. We utilize over 16,000 APIs from Rapid API, operating under the assumption that a subset of these APIs could potentially resolve the queries. AnyTool primarily incorporates three elements: an API retriever with a hierarchical structure, a solver aimed at resolving user queries using a selected set of API candidates, and a self-reflection mechanism, which re-activates AnyTool if the initial solution proves impracticable. AnyTool is powered by the function calling feature of GPT-4, eliminating the need for training external modules. We also revisit the evaluation protocol introduced by previous works and identify a limitation in this protocol that leads to an artificially high pass rate. By revising the evaluation protocol to better reflect practical application scenarios, we introduce an additional benchmark, termed AnyToolBench. Experiments across various datasets demonstrate the superiority of our AnyTool over strong baselines such as ToolLLM and a GPT-4 variant tailored for tool utilization. For instance, AnyTool outperforms ToolLLM by +35.4% in terms of average pass rate on ToolBench. Code will be available at https://github.com/dyabel/AnyTool.
Key facts. Cited by 121 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 26 of its 30 references that are in the map. First posted on arXiv 6 Feb 2024.
Builds on
26 of 30 references.
Closest ancestors · 9
Same direction, newest first
- 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs31 Jul
- 2023ToolAlpaca: Generalized Tool Learning for Language Models with 3000 Simulated Cases8 Jun
- 2023Large Language Models as Tool Makers26 May
- 2023Gorilla: Large Language Model Connected with Massive APIs24 May
- 2023ToolkenGPT: Augmenting Frozen Language Models with Massive Tools via Tool Embeddings19 May
- 2023Tool Learning with Foundation Models17 Apr
- 2023API-Bank: A Comprehensive Benchmark for Tool-Augmented LLMs14 Apr
- 2023Toolformer: Language Models Can Teach Themselves to Use Tools9 Feb
- 2022TALM: Tool Augmented Language Models24 May
Other references · 17
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023GPT-4 Technical Reportcited by 18,132
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,674
- 2022LaMDA: Language Models for Dialog Applicationscited by 1,218
- 2023HuggingGPT: Solving AI Tasks with ChatGPT and its Friends in Hugging Facecited by 1,173
- 2023Large Language Modelscited by 774
5 more
- 2024Self-Rewarding Language Modelscited by 654
- 2024Self-Play Fine-Tuning Converts Weak Language Models to Strong Language Modelscited by 552
- 2023Factuality Challenges in the Era of Large Language Modelscited by 125
- 2023On the Tool Manipulation Capability of Open-source Large Language Modelscited by 122
- 2023Tool Documentation Enables Zero-Shot Tool-Usage with Large Language Modelscited by 66
Built on by
Citing papers per year: 2024: 26; 2025: 44; 2026: 51.
121 papers.
Sort:
By area:
- 2024Tool Learning with Large Language Models: A Surveycited by 221
- 2024Large Language Model-Brained GUI Agents: A Surveycited by 160
- 2024The BrowserGym Ecosystem for Web Agent Researchcited by 152
- 2025Prompt Injection Attack to Tool Selection in LLM Agentscited by 145
- 2025Advances and Challenges in Foundation Agents: From Brain-Inspired Intelligence to Evolutionary, Collaborative, and Safe Systemscited by 125
- 2024xLAM: A Family of Large Action Models to Empower AI Agent Systemscited by 108
- 2024Beyond Browsing: API-Based Web Agentscited by 77
- 2025A Survey of LLM-based Deep Search Agents: Paradigm, Optimization, Evaluation, and Challengescited by 58
- 2026SkillRouter: Skill Routing for LLM Agents at Scalecited by 57
- 2025ToolHop: A Query-Driven Benchmark for Evaluating Large Language Models in Multi-Hop Tool Usecited by 48
- 2024From Exploration to Mastery: Enabling LLMs to Master Tools via Self-Driven Interactionscited by 46
- 2024Octopus v2: On-device language model for super agentcited by 45
38 more
- 2025ScaleMCP: Dynamic and Auto-Synchronizing Model Context Protocol Tools for LLM Agentscited by 36
- 2024Tool-Planner: Task Planning with Clusters across Multiple Toolscited by 32
- 2025MCP-Zero: Active Tool Discovery for Autonomous LLM Agentscited by 32
- 2025InSTA: Towards Internet-Scale Training For Agentscited by 31
- 2024ToolPlanner: A Tool Augmented LLM for Multi Granularity Instructions with Path Planning and Feedbackcited by 28
- 2025API Agents vs. GUI Agents: Divergence and Convergencecited by 28
- 2024Speech-Copilot: Leveraging Large Language Models for Speech Processing via Task Decomposition, Modularization, and Program Generationcited by 27
- 2024Octopus: On-device language model for function calling of software APIscited by 26
- 2025Where Did It All Go Wrong? A Hierarchical Look into Multi-Agent Error Attributioncited by 25
- 2024Toolshed: Scale Tool-Equipped Agents with Advanced RAG-Tool Fusion and Tool Knowledge Basescited by 23
- 2024Efficient and Scalable Estimation of Tool Representations in Vector Spacecited by 22
- 2025TripTailor: A Real-World Benchmark for Personalized Travel Planningcited by 22
- 2025UItron: Foundational GUI Agent with Advanced Perception and Planningcited by 22
- 2026EvoTool: Self-Evolving Tool-Use Policy Optimization in LLM Agents via Blame-Aware Mutation and Diversity-Aware Selectioncited by 22
- 2025MemTool: Optimizing Short-Term Memory Management for Dynamic Tool Calling in LLM Agent Multi-Turn Conversationscited by 21
- 2024Enhancing Tool Retrieval with Iterative Feedback from Large Language Modelscited by 17
- 2026A Comprehensive Survey on Agent Skills: Taxonomy, Techniques, and Applicationscited by 17
- 2025Divide-Then-Aggregate: An Efficient Tool Learning Method via Parallel Tool Invocationcited by 16
- 2024Learning Evolving Tools for Large Language Modelscited by 15
- 2025Graph RAG-Tool Fusioncited by 15
- 2025LiveMCP-101: Stress Testing and Diagnosing MCP-enabled Agents on Challenging Queriescited by 15
- 2025Tool-to-Agent Retrieval: Bridging Tools and Agents for Scalable LLM Multi-Agent Systemscited by 15
- 2026Benchmarking LLM Tool-Use in the Wildcited by 15
- 2026SkillDAG: Self-Evolving Typed Skill Graphs for LLM Skill Selection at Scalecited by 15
- 2025AgentSwift: Efficient LLM Agent Design via Value-guided Hierarchical Searchcited by 14
- 2025From REST to MCP: An Empirical Study of API Wrapping and Automated Server Generation for LLM Agentscited by 14
- 2024Rethinking Generative Large Language Model Evaluation for Semantic Comprehensioncited by 13
- 2026ToolGate: Contract-Grounded and Verified Tool Execution for LLMscited by 13
- 2025Improving Generalization in Intent Detection: GRPO with Reward-Based Curriculum Samplingcited by 12
- 2024ChatHuman: Chatting about 3D Humans with Toolscited by 11
- 2024EcoAct: Economic Agent Determines When to Register What Actioncited by 11
- 2025M^3-Bench: Multi-Modal, Multi-Hop, Multi-Threaded Tool-Using MLLM Agent Benchmarkcited by 11
- 2025AutoTool: Dynamic Tool Selection and Integration for Agentic Reasoningcited by 11
- 2026The Evolution of Tool Use in LLM Agents: From Single-Tool Call to Multi-Tool Orchestrationcited by 11
- 2024PLAYER*: Enhancing LLM-based Multi-Agent Communication and Interaction in Murder Mystery Gamescited by 10
- 2024Query Routing for Homogeneous Tools: An Instantiation in the RAG Scenariocited by 10
- 2024MeNTi: Bridging Medical Calculator and LLM Agent with Nested Tool Callingcited by 10
- 2025Secure and Efficient Access Control for Computer-Use Agents via Context Spacecited by 10
50 most cited of 121 All 121 (JSON)
- 2026Safe, Persistent, and Evolving Agent Harness for Understanding Partially Observable Worlds8 Oct 2026
- 2026Self-Evolving Agents via Likelihood-Guided Tool-Space Optimization28 Sep 2026
- 2026What Does a Skill Actually Do? Estimands and Evaluation Validity for Tool and Skill Use in LLM Agents: A Critical Review27 Sep 2026
- 2026Procedural Graphs: Self-Evolving Execution Structures for LLM Agents8 Sep 2026
- 2026CoBRA: Learning Tool-Use Boundaries via Counterfactual Margins1 Sep 2026
- 2026Towards a Systems Foundation for Agentic Skills: Architecture, Lifecycle, and Security30 Aug 2026
- 2026Reflection with Action-Induced Visual Differences for Desktop GUI Agents25 Aug 2026
- 2026CacheRouter: A Dual-Path Tool Routing Architecture with Cache-Preserving Main-Model Isolation for Long-Tail Tool Discovery24 Aug 2026
- 2026Enrich-Retrieve-Rank: Scaling Capability Discovery Beyond In-Context Routing24 Aug 2026
- 2026When Tool-Backed Skill Retrieval Fails: Source-Style Collapse in Executable Capability Retrieval17 Aug 2026
- 2026ARC: Fair Relative Advantage Comparison in Open-Ended Real-World Interaction13 Aug 2026
- 2026DOCSCHISEL: Adaptive Tool Documentation Optimization Framework for LLM Agents10 Aug 2026
38 more
- 2026MetaRoute-Bench: Evaluating Meta-Decision Policies for Agentic Workflow Routing31 Jul 2026
- 2026Learning Compositional Meta-Routing for Agentic Workflows: An Executable Benchmark31 Jul 2026
- 2026Scores Are Not Decisions: Cost-Aware Stopping for Tool Acquisition in LLM Agents29 Jul 2026
- 2026MagicSelector: Joint Optimization for Agent Tool Selection via Counterfactual Decomposition and Progressive Reranking20 Jul 2026
- 2026Harness Engineering: Anatomy, Architecture, and Evolution of Coding Agents -- A Source-Code Study of Eleven Systems15 Jul 2026
- 2026A Formal Hierarchical Architecture for Agentic Orchestration with Stack-Based Execution and Lazy Discovery13 Jul 2026
- 2026ToolAtlas: Learning Once, Reusing Everywhere with Tool-Side Memory13 Jul 2026
- 2026Beyond Function Calling: Benchmarking Tool-Using Agents under Tool-Environment Unreliability24 Jun 2026
- 2026PlanBench-XL: Evaluating Long-Horizon Planning of LLM Tool-Use Agents in Large-Scale Tool Ecosystems21 Jun 2026
- 2026Beyond Static Endpoints: Tool Programs as an Interface for Flexible Agentic Web Services18 Jun 2026
- 2026Scaling Enterprise Agent Routing: Degradation, Diagnosis, and Recovery16 Jun 2026
- 2026SING: Synthetic Intention Graph for Scalable Active Tool Discovery in LLM Agents15 Jun 2026
- 2026SkillDAG: Self-Evolving Typed Skill Graphs for LLM Skill Selection at Scale2 Jun 2026
- 2026Capability Self-Assessment in Large Language Models29 May 2026
- 2026ParaTool: Shifting Tool Representations from Context to Parameters28 May 2026
- 2026Indexing the Unreadable: LLM-Native Recursive Construction and Search of Service Taxonomies28 May 2026
- 2026Maestro: Reinforcement Learning to Orchestrate Hierarchical Model-Skill Ensembles21 May 2026
- 2026The Scaling Laws of Skills in LLM Agent Systems15 May 2026
- 2026RS-Claw: Progressive Active Tool Exploration via Hierarchical Skill Trees for Remote Sensing Agents13 May 2026
- 2026ComplexMCP: Evaluation of LLM Agents in Dynamic, Interdependent, and Large-Scale Tool Sandbox11 May 2026
- 2026SkillRAE: Agent Skill-Based Context Compilation for Retrieval-Augmented Execution11 May 2026
- 2026CoCoDA: Co-evolving Compositional DAG for Tool-Augmented Agents8 May 2026
- 2026A Comprehensive Survey on Agent Skills: Taxonomy, Techniques, and Applications8 May 2026
- 2026FitText: Evolving Agent Tool Ecologies via Memetic Retrieval4 May 2026
- 2026Waking Up Blind: Cold-Start Optimization of Supervision-Free Agentic Trajectories for Grounded Visual Perception19 Apr 2026
- 2026Agentic Application in Power Grid Static Analysis: Automatic Code Generation and Error Correction11 Apr 2026
- 2026Aligning Agents via Planning: A Benchmark for Trajectory-Level Reward Modeling9 Apr 2026
- 2026Agentic Tool Use in Large Language Models1 Apr 2026
- 2026Internal APIs Are All You Need: Shadow APIs, Shared Discovery, and the Case Against Browser-First Agent Architectures1 Apr 2026
- 2026The Evolution of Tool Use in LLM Agents: From Single-Tool Call to Multi-Tool Orchestration24 Mar 2026
- 2026SkillRouter: Skill Routing for LLM Agents at Scale23 Mar 2026
- 2026EvoTool: Self-Evolving Tool-Use Policy Optimization in LLM Agents via Blame-Aware Mutation and Diversity-Aware Selection5 Mar 2026
- 2026ToolRLA: Multiplicative Reward Decomposition for Tool-Integrated Agents2 Mar 2026
- 2026Gecko: A Simulation Environment with Stateful Feedback for Refining Agent Tool Calls22 Feb 2026
- 2026Robust and Efficient Tool Orchestration via Layered Execution Structures with Reflective Correction21 Feb 2026
- 2026TabAgent: A Framework for Replacing Agentic Generative Components with Tabular-Textual Classifiers18 Feb 2026
- 2026Benchmarking LLM Tool-Use in the Wild13 Feb 2026
- 2026Beyond Accuracy: A Cognitive Load Framework for Mapping the Capability Boundaries of Tool-use Agents28 Jan 2026
50 newest of 121 All 121 (JSON)
- 2024Tool Learning with Large Language Models: A Surveycited by 221
- 2024Large Language Model-Brained GUI Agents: A Surveycited by 160
- 2024The BrowserGym Ecosystem for Web Agent Researchcited by 152
- 2025Prompt Injection Attack to Tool Selection in LLM Agentscited by 145
- 2025Advances and Challenges in Foundation Agents: From Brain-Inspired Intelligence to Evolutionary, Collaborative, and Safe Systemscited by 125
- 2024xLAM: A Family of Large Action Models to Empower AI Agent Systemscited by 108
- 2024Beyond Browsing: API-Based Web Agentscited by 77
- 2025A Survey of LLM-based Deep Search Agents: Paradigm, Optimization, Evaluation, and Challengescited by 58
- 2026SkillRouter: Skill Routing for LLM Agents at Scalecited by 57
- 2025ToolHop: A Query-Driven Benchmark for Evaluating Large Language Models in Multi-Hop Tool Usecited by 48
- 2024From Exploration to Mastery: Enabling LLMs to Master Tools via Self-Driven Interactionscited by 46
- 2024Octopus v2: On-device language model for super agentcited by 45
12 most cited of 90 All 90 (JSON)
- 2026What Does a Skill Actually Do? Estimands and Evaluation Validity for Tool and Skill Use in LLM Agents: A Critical Review27 Sep 2026
- 2026Procedural Graphs: Self-Evolving Execution Structures for LLM Agents8 Sep 2026
- 2026CoBRA: Learning Tool-Use Boundaries via Counterfactual Margins1 Sep 2026
- 2026Towards a Systems Foundation for Agentic Skills: Architecture, Lifecycle, and Security30 Aug 2026
- 2026Reflection with Action-Induced Visual Differences for Desktop GUI Agents25 Aug 2026
- 2026CacheRouter: A Dual-Path Tool Routing Architecture with Cache-Preserving Main-Model Isolation for Long-Tail Tool Discovery24 Aug 2026
- 2026DOCSCHISEL: Adaptive Tool Documentation Optimization Framework for LLM Agents10 Aug 2026
- 2026MetaRoute-Bench: Evaluating Meta-Decision Policies for Agentic Workflow Routing31 Jul 2026
- 2026Learning Compositional Meta-Routing for Agentic Workflows: An Executable Benchmark31 Jul 2026
- 2026Scores Are Not Decisions: Cost-Aware Stopping for Tool Acquisition in LLM Agents29 Jul 2026
- 2026Harness Engineering: Anatomy, Architecture, and Evolution of Coding Agents -- A Source-Code Study of Eleven Systems15 Jul 2026
- 2026A Formal Hierarchical Architecture for Agentic Orchestration with Stack-Based Execution and Lazy Discovery13 Jul 2026
12 newest of 90 All 90 (JSON)
- 2024Tool-Planner: Task Planning with Clusters across Multiple Toolscited by 32
- 2025TripTailor: A Real-World Benchmark for Personalized Travel Planningcited by 22
- 2024Rethinking Generative Large Language Model Evaluation for Semantic Comprehensioncited by 13
- 2025Improving Generalization in Intent Detection: GRPO with Reward-Based Curriculum Samplingcited by 12
- 2025AutoTool: Dynamic Tool Selection and Integration for Agentic Reasoningcited by 11
- 2024Disentangling Reasoning Tokens and Boilerplate Tokens For Language Model Fine-tuningcited by 4
- 2025ChartAgent: A Chart Understanding Framework with Tool Integrated Reasoningcited by 4
- 2025MATRIX: Multimodal Agent Tuning for Robust Tool-Use Reasoningcited by 1
- 2025ChartAgent: A Chart Understanding Framework with Tool Integrated Reasoning16 Dec 2025
- 2025AutoTool: Dynamic Tool Selection and Integration for Agentic Reasoning15 Dec 2025
- 2025MATRIX: Multimodal Agent Tuning for Robust Tool-Use Reasoning9 Oct 2025
- 2025TripTailor: A Real-World Benchmark for Personalized Travel Planning2 Aug 2025
- 2025Improving Generalization in Intent Detection: GRPO with Reward-Based Curriculum Sampling18 Apr 2025
- 2024Disentangling Reasoning Tokens and Boilerplate Tokens For Language Model Fine-tuning19 Dec 2024
- 2024Tool-Planner: Task Planning with Clusters across Multiple Tools6 Jun 2024
- 2024Rethinking Generative Large Language Model Evaluation for Semantic Comprehension12 Mar 2024
- 2025Graph RAG-Tool Fusioncited by 15
- 2026SkillRAE: Agent Skill-Based Context Compilation for Retrieval-Augmented Executioncited by 8
- 2026SkillRAE: Agent Skill-Based Context Compilation for Retrieval-Augmented Execution11 May 2026
- 2025Graph RAG-Tool Fusion11 Feb 2025
- 2024Speech-Copilot: Leveraging Large Language Models for Speech Processing via Task Decomposition, Modularization, and Program Generationcited by 27
- 2024Enhancing Tool Retrieval with Iterative Feedback from Large Language Modelscited by 17
- 2026Benchmarking LLM Tool-Use in the Wildcited by 15
- 2024ChatHuman: Chatting about 3D Humans with Toolscited by 11
- 2025Reflective Paper-to-Code Reproduction Enabled by Fine-Grained Verificationcited by 9
- 2025GraphChain: Large Language Models for Large-scale Graph Analysis via Tool Chainingcited by 5
- 2025Lego-Edit: A General Image Editing Framework with Model-Level Bricks and MLLM Buildercited by 4
- 2024SEAL: Suite for Evaluating API-use of LLMscited by 2
- 2025Evaluating the Quality of Randomness and Entropy in Tasks Supported by Large Language Modelscited by 2
- 2026When Tool-Backed Skill Retrieval Fails: Source-Style Collapse in Executable Capability Retrievalcited by 2
- 2026Maestro: Reinforcement Learning to Orchestrate Hierarchical Model-Skill Ensemblescited by 1
- 2026Capability Self-Assessment in Large Language Modelscited by 1
12 most cited of 19 All 19 (JSON)
- 2026Safe, Persistent, and Evolving Agent Harness for Understanding Partially Observable Worlds8 Oct 2026
- 2026Self-Evolving Agents via Likelihood-Guided Tool-Space Optimization28 Sep 2026
- 2026Enrich-Retrieve-Rank: Scaling Capability Discovery Beyond In-Context Routing24 Aug 2026
- 2026When Tool-Backed Skill Retrieval Fails: Source-Style Collapse in Executable Capability Retrieval17 Aug 2026
- 2026ARC: Fair Relative Advantage Comparison in Open-Ended Real-World Interaction13 Aug 2026
- 2026MagicSelector: Joint Optimization for Agent Tool Selection via Counterfactual Decomposition and Progressive Reranking20 Jul 2026
- 2026Capability Self-Assessment in Large Language Models29 May 2026
- 2026Maestro: Reinforcement Learning to Orchestrate Hierarchical Model-Skill Ensembles21 May 2026
- 2026FitText: Evolving Agent Tool Ecologies via Memetic Retrieval4 May 2026
- 2026Benchmarking LLM Tool-Use in the Wild13 Feb 2026
- 2025GraphChain: Large Language Models for Large-scale Graph Analysis via Tool Chaining1 Nov 2025
- 2025Evaluating the Quality of Randomness and Entropy in Tasks Supported by Large Language Models14 Oct 2025
12 newest of 19 All 19 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2024ShortcutsBench: A Large-Scale Real-world Benchmark for API-based Agents
- 2026Beyond Perfect APIs: A Comprehensive Evaluation of LLM Agents Under Real-World API Complexity
- 2024NESTFUL: A Benchmark for Evaluating LLMs on Nested Sequences of API Calls
- 2026VAKRA: Evaluating Multi-Hop Reasoning Across APIs and Retrieval Under Tool-Use Policies
- 2024APIGen: Automated Pipeline for Generating Verifiable and Diverse Function-Calling Datasets
- 2025Live API-Bench: 2500+ Live APIs for Testing Multi-Step Tool Calling
- 2025The Tool Decathlon: Benchmarking Language Agents for Diverse, Realistic, and Long-Horizon Task Execution
- 2026Simulate to Generalize: Scaling Stateful Supervision for API-calling Agents using LLM World Models