NESTFUL: A Benchmark for Evaluating LLMs on Nested Sequences of API Calls
On the map: LLM agents and tool use → Tool learning and function calling
Abstract (arXiv)
The resurgence of autonomous agents built using large language models (LLMs) to solve complex real-world tasks has brought increased focus on LLMs' fundamental ability of tool or function calling. At the core of these agents, an LLM must plan, execute, and respond using external tools, APIs, and custom functions. Research on tool calling has gathered momentum, but evaluation benchmarks and datasets representing the complexity of the tasks have lagged behind. In this work, we focus on one such complexity, nested sequencing, with the goal of extending existing benchmarks and evaluation. Specifically, we present NESTFUL, a benchmark to evaluate LLMs on nested sequences of API calls, i.e., sequences where the output of one API call is passed as input to a subsequent call. NESTFUL contains 1800+ nested sequences where all the function calls are executable. Experimental results on a variety of models show that the best-performing model (GPT-4o) achieves a full sequence match accuracy of 28% and a win-rate of 60%, necessitating a large scope for improvement in the nested sequencing aspect of function calling. Our analysis of these results provides possible future research directions for the community, in addition to a benchmark to track progress. We have released the NESTFUL dataset under the Apache 2.0 license at https://github.com/IBM/NESTFUL.
Key facts. Cited by 48 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 25 of its 34 references that are in the map. First posted on arXiv 4 Sep 2024.
Builds on
25 of 34 references.
Closest ancestors · 9
Same direction, newest first
- 2024ToolACE: Winning the Points of LLM Function Calling2 Sep
- 2024Granite-Function Calling Model: Introducing Function Calling Abilities via Multi-task Learning of Granular Tasks27 Jun
- 2024APIGen: Automated Pipeline for Generating Verifiable and Diverse Function-Calling Datasets26 Jun
- 2024Seal-Tools: Self-Instruct Tool Learning Dataset for Agent Tuning and Detailed Benchmark14 May
- 2024API-BLEND: A Comprehensive Corpora for Training and Benchmarking API LLMs23 Feb
- 2023Reverse Chain: A Generic-Rule for LLMs to Master Multi-API Planning6 Oct
- 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs31 Jul
- 2023ToolAlpaca: Generalized Tool Learning for Language Models with 3000 Simulated Cases8 Jun
- 2023Gorilla: Large Language Model Connected with Massive APIs24 May
Other references · 16
- 2023GPT-4 Technical Reportcited by 18,396
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
- 2023Code Llama: Open Foundation Models for Codecited by 2,139
- 2024Mixtral of Expertscited by 1,823
- 2023Mind2Web: Towards a Generalist Agent for the Webcited by 1,242
- 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,181
- 2019MathQA: Towards Interpretable Math Word Problem Solving with Operation-Based Formalismscited by 662
- 2023AgentTuning: Enabling Generalized Agent Abilities for LLMscited by 338
- 2023RestGPT: Connecting Large Language Models with Real-World RESTful APIscited by 135
- 2023On the Tool Manipulation Capability of Open-source Large Language Modelscited by 122
4 more
- 2024Granite Code Models: A Family of Open Foundation Models for Code Intelligencecited by 117
- 2024Exploring LLM-based Agents for Root Cause Analysiscited by 61
- 2024AgentOhana: Design Unified Data and Training Pipeline for Effective Agent Learningcited by 53
- 2024ShortcutsBench: A Large-Scale Real-world Benchmark for API-based Agentscited by 36
Built on by
Citing papers per year: 2024: 2; 2025: 20; 2026: 26.
48 papers.
Sort:
By area:
- 2025Survey on Evaluation of LLM-based Agentscited by 204
- 2025A Survey of Context Engineering for Large Language Modelscited by 126
- 2025Magnet: Multi-turn Tool-use Data Synthesis and Distillation via Graph Translationcited by 37
- 2025Procedural Environment Generation for Tool-Use Agentscited by 24
- 2025FEABench: Evaluating Language Models on Multiphysics Reasoning Abilitycited by 22
- 2025CRITICTOOL: Evaluating Self-Critique Capabilities of Large Language Models in Tool-Calling Error Scenarioscited by 19
- 2025VoiceAgentBench: Are Voice Assistants ready for agentic tasks?cited by 19
- 2025ToolRM: Outcome Reward Models for Tool-Calling Large Language Modelscited by 17
- 2026Beyond Static Tools: Test-Time Tool Evolution for Scientific Reasoningcited by 15
- 2026The Evolution of Tool Use in LLM Agents: From Single-Tool Call to Multi-Tool Orchestrationcited by 14
- 2025Evolutionary Perspectives on the Evaluation of LLM-Based AI Agents: A Comprehensive Surveycited by 13
- 2026PlanBench-XL: Evaluating Long-Horizon Planning of LLM Tool-Use Agents in Large-Scale Tool Ecosystemscited by 11
36 more
- 2024A Multi-Agent Approach for REST API Testing with Semantic Graphs and LLM-Driven Inputscited by 9
- 2025AgentArch: A Comprehensive Benchmark to Evaluate Agent Architectures in Enterprisecited by 8
- 2026MAESTRO: Multi-Agent Evaluation Suite for Testing, Reliability, and Observabilitycited by 7
- 2026ASA: Backbone-Training-Free Representation Engineering for Tool-Calling Agentscited by 6
- 2025Generating Structured Plan Representation of Procedures with LLMscited by 5
- 2026Beyond Perfect APIs: A Comprehensive Evaluation of LLM Agents Under Real-World API Complexitycited by 5
- 2026AsyncTool: Evaluating the Asynchronous Function Calling Capability under Multi-Task Scenarioscited by 5
- 2024Deploying Foundation Model Powered Agent Services: A Surveycited by 4
- 2025LlamaRestTest: Effective REST API Testing with Small Language Modelscited by 4
- 2025Live API-Bench: 2500+ Live APIs for Testing Multi-Step Tool Callingcited by 4
- 2025ToolPRM: Fine-Grained Inference Scaling of Structured Outputs for Function Callingcited by 4
- 2026Agentic Tool Use in Large Language Modelscited by 4
- 2025How Can Input Reformulation Improve Tool Usage Accuracy in a Complex Dynamic Environment? A Study on τ-benchcited by 3
- 2026Simulating Complex Multi-Turn Tool Calling Interactions in Stateless Execution Environmentscited by 3
- 2025Evaluating LLMs on Sequential API Call Through Automated Test Generationcited by 2
- 2025Empowering Real-World: A Survey on the Technology, Practice, and Evaluation of LLM-driven Industry Agentscited by 2
- 2026WRIT: Write-Read Intensive Trajectory Synthesis for Multi-Turn User-Facing Agentscited by 2
- 2026Looped Language Models Improve Compositional Tool Callingcited by 2
- 2026Harness Engineering in LLM Tool Use via Agent-Native Reusable Tool Primitivescited by 2
- 2025In-N-Out: A Parameter-Level API Graph Dataset for Tool Agentscited by 1
- 2025Declarative Techniques for NL Queries over Heterogeneous Datacited by 1
- 2026Training LLMs for Multi-Step Tool Orchestration with Constrained Data Synthesis and Graduated Rewardscited by 1
- 2026The Amazing Agent Race: Strong Tool Users, Weak Navigatorscited by 1
- 2026ToolWeave: Structured Synthesis of Complex Multi-Turn Tool-Calling Dialoguescited by 1
- 2026HyperTool: Beyond Step-Wise Tool Calls for Tool-Augmented Agentscited by 1
- 2025Repairing Tool Calls Using Post-tool Execution Reflection and RAGcited by 0
- 2026RAG Strategies for Natural Language-Based SQL Query and REST API Call Generationcited by 0
- 2026TIER: Trajectory-Invariant Execution Rewards for Multi-Step Tool Compositioncited by 0
- 2026What to Format and How: A Benchmark and Workflow Approach for Document Formattingcited by 0
- 2026Attributing Structured-Output Gains in Function Calling: Interface Alignment versus Procedural Transfercited by 0
- 2026Data Turnstile: A Scalable Open Framework for Function-Calling Data Generationcited by 0
- 2026PluginEval: A Diagnostic Benchmark for Fine-Grained Error Attribution in Function Callingcited by 0
- 2026VAKRA: Evaluating Multi-Hop Reasoning Across APIs and Retrieval Under Tool-Use Policiescited by 0
- 2026Proxy Confidence: Auditing Black-Box LLM Agents with a Surrogate's Log-Probabilitiescited by 0
- 2026Do Tool Calls Execute as Intended? Measuring and Repairing Intent-Execution Correspondence in LLM Agentscited by 0
- 2026AgentStripes: An Evidence-Graded Maturity Model for AI Agentscited by 0
- 2026AgentStripes: An Evidence-Graded Maturity Model for AI Agents13 Oct 2026
- 2026Do Tool Calls Execute as Intended? Measuring and Repairing Intent-Execution Correspondence in LLM Agents3 Oct 2026
- 2026Proxy Confidence: Auditing Black-Box LLM Agents with a Surrogate's Log-Probabilities2 Oct 2026
- 2026Harness Engineering in LLM Tool Use via Agent-Native Reusable Tool Primitives1 Sep 2026
- 2026Looped Language Models Improve Compositional Tool Calling17 Aug 2026
- 2026VAKRA: Evaluating Multi-Hop Reasoning Across APIs and Retrieval Under Tool-Use Policies12 Aug 2026
- 2026PluginEval: A Diagnostic Benchmark for Fine-Grained Error Attribution in Function Calling9 Aug 2026
- 2026Data Turnstile: A Scalable Open Framework for Function-Calling Data Generation31 Jul 2026
- 2026Attributing Structured-Output Gains in Function Calling: Interface Alignment versus Procedural Transfer1 Jul 2026
- 2026PlanBench-XL: Evaluating Long-Horizon Planning of LLM Tool-Use Agents in Large-Scale Tool Ecosystems21 Jun 2026
- 2026HyperTool: Beyond Step-Wise Tool Calls for Tool-Augmented Agents11 Jun 2026
- 2026WRIT: Write-Read Intensive Trajectory Synthesis for Multi-Turn User-Facing Agents1 Jun 2026
36 more
- 2026What to Format and How: A Benchmark and Workflow Approach for Document Formatting1 Jun 2026
- 2026AsyncTool: Evaluating the Asynchronous Function Calling Capability under Multi-Task Scenarios27 May 2026
- 2026TIER: Trajectory-Invariant Execution Rewards for Multi-Step Tool Composition16 May 2026
- 2026The Amazing Agent Race: Strong Tool Users, Weak Navigators11 Apr 2026
- 2026ToolWeave: Structured Synthesis of Complex Multi-Turn Tool-Calling Dialogues3 Apr 2026
- 2026Agentic Tool Use in Large Language Models1 Apr 2026
- 2026Training LLMs for Multi-Step Tool Orchestration with Constrained Data Synthesis and Graduated Rewards25 Mar 2026
- 2026The Evolution of Tool Use in LLM Agents: From Single-Tool Call to Multi-Tool Orchestration24 Mar 2026
- 2026RAG Strategies for Natural Language-Based SQL Query and REST API Call Generation6 Feb 2026
- 2026ASA: Backbone-Training-Free Representation Engineering for Tool-Calling Agents4 Feb 2026
- 2026Beyond Static Tools: Test-Time Tool Evolution for Scientific Reasoning12 Jan 2026
- 2026Simulating Complex Multi-Turn Tool Calling Interactions in Stateless Execution Environments6 Jan 2026
- 2026MAESTRO: Multi-Agent Evaluation Suite for Testing, Reliability, and Observability1 Jan 2026
- 2026Beyond Perfect APIs: A Comprehensive Evaluation of LLM Agents Under Real-World API Complexity1 Jan 2026
- 2025Empowering Real-World: A Survey on the Technology, Practice, and Evaluation of LLM-driven Industry Agents20 Oct 2025
- 2025Declarative Techniques for NL Queries over Heterogeneous Data18 Oct 2025
- 2025Repairing Tool Calls Using Post-tool Execution Reflection and RAG17 Oct 2025
- 2025ToolPRM: Fine-Grained Inference Scaling of Structured Outputs for Function Calling16 Oct 2025
- 2025VoiceAgentBench: Are Voice Assistants ready for agentic tasks?9 Oct 2025
- 2025ToolRM: Outcome Reward Models for Tool-Calling Large Language Models15 Sep 2025
- 2025AgentArch: A Comprehensive Benchmark to Evaluate Agent Architectures in Enterprise13 Sep 2025
- 2025In-N-Out: A Parameter-Level API Graph Dataset for Tool Agents1 Sep 2025
- 2025How Can Input Reformulation Improve Tool Usage Accuracy in a Complex Dynamic Environment? A Study on τ-bench28 Aug 2025
- 2025A Survey of Context Engineering for Large Language Models17 Jul 2025
- 2025Evaluating LLMs on Sequential API Call Through Automated Test Generation13 Jul 2025
- 2025Live API-Bench: 2500+ Live APIs for Testing Multi-Step Tool Calling12 Jun 2025
- 2025CRITICTOOL: Evaluating Self-Critique Capabilities of Large Language Models in Tool-Calling Error Scenarios11 Jun 2025
- 2025Evolutionary Perspectives on the Evaluation of LLM-Based AI Agents: A Comprehensive Survey6 Jun 2025
- 2025Procedural Environment Generation for Tool-Use Agents21 May 2025
- 2025FEABench: Evaluating Language Models on Multiphysics Reasoning Ability8 Apr 2025
- 2025Generating Structured Plan Representation of Procedures with LLMs28 Mar 2025
- 2025Survey on Evaluation of LLM-based Agents20 Mar 2025
- 2025Magnet: Multi-turn Tool-use Data Synthesis and Distillation via Graph Translation10 Mar 2025
- 2025LlamaRestTest: Effective REST API Testing with Small Language Models15 Jan 2025
- 2024Deploying Foundation Model Powered Agent Services: A Survey18 Dec 2024
- 2024A Multi-Agent Approach for REST API Testing with Semantic Graphs and LLM-Driven Inputs11 Nov 2024
- 2025Survey on Evaluation of LLM-based Agentscited by 204
- 2025Magnet: Multi-turn Tool-use Data Synthesis and Distillation via Graph Translationcited by 37
- 2025Procedural Environment Generation for Tool-Use Agentscited by 24
- 2025CRITICTOOL: Evaluating Self-Critique Capabilities of Large Language Models in Tool-Calling Error Scenarioscited by 19
- 2025VoiceAgentBench: Are Voice Assistants ready for agentic tasks?cited by 19
- 2026The Evolution of Tool Use in LLM Agents: From Single-Tool Call to Multi-Tool Orchestrationcited by 14
- 2025Evolutionary Perspectives on the Evaluation of LLM-Based AI Agents: A Comprehensive Surveycited by 13
- 2026PlanBench-XL: Evaluating Long-Horizon Planning of LLM Tool-Use Agents in Large-Scale Tool Ecosystemscited by 11
- 2024A Multi-Agent Approach for REST API Testing with Semantic Graphs and LLM-Driven Inputscited by 9
- 2025AgentArch: A Comprehensive Benchmark to Evaluate Agent Architectures in Enterprisecited by 8
- 2026MAESTRO: Multi-Agent Evaluation Suite for Testing, Reliability, and Observabilitycited by 7
- 2026ASA: Backbone-Training-Free Representation Engineering for Tool-Calling Agentscited by 6
12 most cited of 34 All 34 (JSON)
- 2026Do Tool Calls Execute as Intended? Measuring and Repairing Intent-Execution Correspondence in LLM Agents3 Oct 2026
- 2026Proxy Confidence: Auditing Black-Box LLM Agents with a Surrogate's Log-Probabilities2 Oct 2026
- 2026Harness Engineering in LLM Tool Use via Agent-Native Reusable Tool Primitives1 Sep 2026
- 2026Looped Language Models Improve Compositional Tool Calling17 Aug 2026
- 2026PluginEval: A Diagnostic Benchmark for Fine-Grained Error Attribution in Function Calling9 Aug 2026
- 2026Data Turnstile: A Scalable Open Framework for Function-Calling Data Generation31 Jul 2026
- 2026Attributing Structured-Output Gains in Function Calling: Interface Alignment versus Procedural Transfer1 Jul 2026
- 2026PlanBench-XL: Evaluating Long-Horizon Planning of LLM Tool-Use Agents in Large-Scale Tool Ecosystems21 Jun 2026
- 2026WRIT: Write-Read Intensive Trajectory Synthesis for Multi-Turn User-Facing Agents1 Jun 2026
- 2026AsyncTool: Evaluating the Asynchronous Function Calling Capability under Multi-Task Scenarios27 May 2026
- 2026TIER: Trajectory-Invariant Execution Rewards for Multi-Step Tool Composition16 May 2026
- 2026The Amazing Agent Race: Strong Tool Users, Weak Navigators11 Apr 2026
12 newest of 34 All 34 (JSON)
- 2025FEABench: Evaluating Language Models on Multiphysics Reasoning Abilitycited by 22
- 2025ToolRM: Outcome Reward Models for Tool-Calling Large Language Modelscited by 17
- 2026Beyond Static Tools: Test-Time Tool Evolution for Scientific Reasoningcited by 15
- 2025Empowering Real-World: A Survey on the Technology, Practice, and Evaluation of LLM-driven Industry Agentscited by 2
- 2026HyperTool: Beyond Step-Wise Tool Calls for Tool-Augmented Agentscited by 1
- 2026VAKRA: Evaluating Multi-Hop Reasoning Across APIs and Retrieval Under Tool-Use Policiescited by 0
- 2026VAKRA: Evaluating Multi-Hop Reasoning Across APIs and Retrieval Under Tool-Use Policies12 Aug 2026
- 2026HyperTool: Beyond Step-Wise Tool Calls for Tool-Augmented Agents11 Jun 2026
- 2026Beyond Static Tools: Test-Time Tool Evolution for Scientific Reasoning12 Jan 2026
- 2025Empowering Real-World: A Survey on the Technology, Practice, and Evaluation of LLM-driven Industry Agents20 Oct 2025
- 2025ToolRM: Outcome Reward Models for Tool-Calling Large Language Models15 Sep 2025
- 2025FEABench: Evaluating Language Models on Multiphysics Reasoning Ability8 Apr 2025
- 2025A Survey of Context Engineering for Large Language Modelscited by 126
- 2025Generating Structured Plan Representation of Procedures with LLMscited by 5
- 2025LlamaRestTest: Effective REST API Testing with Small Language Modelscited by 4
- 2025Declarative Techniques for NL Queries over Heterogeneous Datacited by 1
- 2026RAG Strategies for Natural Language-Based SQL Query and REST API Call Generationcited by 0
- 2026What to Format and How: A Benchmark and Workflow Approach for Document Formattingcited by 0
- 2026AgentStripes: An Evidence-Graded Maturity Model for AI Agentscited by 0
- 2026AgentStripes: An Evidence-Graded Maturity Model for AI Agents13 Oct 2026
- 2026What to Format and How: A Benchmark and Workflow Approach for Document Formatting1 Jun 2026
- 2026RAG Strategies for Natural Language-Based SQL Query and REST API Call Generation6 Feb 2026
- 2025Declarative Techniques for NL Queries over Heterogeneous Data18 Oct 2025
- 2025A Survey of Context Engineering for Large Language Models17 Jul 2025
- 2025Generating Structured Plan Representation of Procedures with LLMs28 Mar 2025
- 2025LlamaRestTest: Effective REST API Testing with Small Language Models15 Jan 2025
Similar, not cited
Close in wording, no citation either way
- 2025CallNavi, A Challenge and Empirical Study on LLM Function Calling and Routing
- 2026How Consistent Are LLM Agents? Measuring Behavioral Reproducibility in Multi-Step Tool-Calling Pipelines
- 2026The Bitter Lesson of Tool Calling
- 2024Designing Algorithms Empowered by Language Models: An Analytical Framework, Case Studies, and Insights
- 2026Gecko: A Simulation Environment with Stateful Feedback for Refining Agent Tool Calls
- 2026Who Tests the Testers? Systematic Enumeration and Coverage Audit of LLM Agent Tool Call Safety
- 2026Agent-Diff: Benchmarking LLM Agents on Enterprise API Tasks via Code Execution with State-Diff-Based Evaluation
- 2026UniACE: A Unified Framework for Evaluating LLM Agentic Capabilities