mlsanityData to 14 Oct 2026

NESTFUL: A Benchmark for Evaluating LLMs on Nested Sequences of API Calls

arXiv 2409.03797 ↗First posted 4 Sep 2024cs.AI cs.CLcited by 48

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

  1. 2024ToolACE: Winning the Points of LLM Function Calling2 Sep
  2. 2024Granite-Function Calling Model: Introducing Function Calling Abilities via Multi-task Learning of Granular Tasks27 Jun
  3. 2024APIGen: Automated Pipeline for Generating Verifiable and Diverse Function-Calling Datasets26 Jun
  4. 2024Seal-Tools: Self-Instruct Tool Learning Dataset for Agent Tuning and Detailed Benchmark14 May
  5. 2024API-BLEND: A Comprehensive Corpora for Training and Benchmarking API LLMs23 Feb
  6. 2023Reverse Chain: A Generic-Rule for LLMs to Master Multi-API Planning6 Oct
  7. 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs31 Jul
  8. 2023ToolAlpaca: Generalized Tool Learning for Language Models with 3000 Simulated Cases8 Jun
  9. 2023Gorilla: Large Language Model Connected with Massive APIs24 May

Other references · 16

  1. 2023GPT-4 Technical Reportcited by 18,396
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  4. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
  5. 2023Code Llama: Open Foundation Models for Codecited by 2,139
  6. 2024Mixtral of Expertscited by 1,823
  7. 2023Mind2Web: Towards a Generalist Agent for the Webcited by 1,242
  8. 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,181
  9. 2019MathQA: Towards Interpretable Math Word Problem Solving with Operation-Based Formalismscited by 662
  10. 2023AgentTuning: Enabling Generalized Agent Abilities for LLMscited by 338
  11. 2023RestGPT: Connecting Large Language Models with Real-World RESTful APIscited by 135
  12. 2023On the Tool Manipulation Capability of Open-source Large Language Modelscited by 122
4 more
  1. 2024Granite Code Models: A Family of Open Foundation Models for Code Intelligencecited by 117
  2. 2024Exploring LLM-based Agents for Root Cause Analysiscited by 61
  3. 2024AgentOhana: Design Unified Data and Training Pipeline for Effective Agent Learningcited by 53
  4. 2024ShortcutsBench: A Large-Scale Real-world Benchmark for API-based Agentscited by 36

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 2; 2025: 20; 2026: 26.

48 papers.

Sort:

By area:

  1. 2025Survey on Evaluation of LLM-based Agentscited by 204
  2. 2025A Survey of Context Engineering for Large Language Modelscited by 126
  3. 2025Magnet: Multi-turn Tool-use Data Synthesis and Distillation via Graph Translationcited by 37
  4. 2025Procedural Environment Generation for Tool-Use Agentscited by 24
  5. 2025FEABench: Evaluating Language Models on Multiphysics Reasoning Abilitycited by 22
  6. 2025CRITICTOOL: Evaluating Self-Critique Capabilities of Large Language Models in Tool-Calling Error Scenarioscited by 19
  7. 2025VoiceAgentBench: Are Voice Assistants ready for agentic tasks?cited by 19
  8. 2025ToolRM: Outcome Reward Models for Tool-Calling Large Language Modelscited by 17
  9. 2026Beyond Static Tools: Test-Time Tool Evolution for Scientific Reasoningcited by 15
  10. 2026The Evolution of Tool Use in LLM Agents: From Single-Tool Call to Multi-Tool Orchestrationcited by 14
  11. 2025Evolutionary Perspectives on the Evaluation of LLM-Based AI Agents: A Comprehensive Surveycited by 13
  12. 2026PlanBench-XL: Evaluating Long-Horizon Planning of LLM Tool-Use Agents in Large-Scale Tool Ecosystemscited by 11
36 more
  1. 2024A Multi-Agent Approach for REST API Testing with Semantic Graphs and LLM-Driven Inputscited by 9
  2. 2025AgentArch: A Comprehensive Benchmark to Evaluate Agent Architectures in Enterprisecited by 8
  3. 2026MAESTRO: Multi-Agent Evaluation Suite for Testing, Reliability, and Observabilitycited by 7
  4. 2026ASA: Backbone-Training-Free Representation Engineering for Tool-Calling Agentscited by 6
  5. 2025Generating Structured Plan Representation of Procedures with LLMscited by 5
  6. 2026Beyond Perfect APIs: A Comprehensive Evaluation of LLM Agents Under Real-World API Complexitycited by 5
  7. 2026AsyncTool: Evaluating the Asynchronous Function Calling Capability under Multi-Task Scenarioscited by 5
  8. 2024Deploying Foundation Model Powered Agent Services: A Surveycited by 4
  9. 2025LlamaRestTest: Effective REST API Testing with Small Language Modelscited by 4
  10. 2025Live API-Bench: 2500+ Live APIs for Testing Multi-Step Tool Callingcited by 4
  11. 2025ToolPRM: Fine-Grained Inference Scaling of Structured Outputs for Function Callingcited by 4
  12. 2026Agentic Tool Use in Large Language Modelscited by 4
  13. 2025How Can Input Reformulation Improve Tool Usage Accuracy in a Complex Dynamic Environment? A Study on τ-benchcited by 3
  14. 2026Simulating Complex Multi-Turn Tool Calling Interactions in Stateless Execution Environmentscited by 3
  15. 2025Evaluating LLMs on Sequential API Call Through Automated Test Generationcited by 2
  16. 2025Empowering Real-World: A Survey on the Technology, Practice, and Evaluation of LLM-driven Industry Agentscited by 2
  17. 2026WRIT: Write-Read Intensive Trajectory Synthesis for Multi-Turn User-Facing Agentscited by 2
  18. 2026Looped Language Models Improve Compositional Tool Callingcited by 2
  19. 2026Harness Engineering in LLM Tool Use via Agent-Native Reusable Tool Primitivescited by 2
  20. 2025In-N-Out: A Parameter-Level API Graph Dataset for Tool Agentscited by 1
  21. 2025Declarative Techniques for NL Queries over Heterogeneous Datacited by 1
  22. 2026Training LLMs for Multi-Step Tool Orchestration with Constrained Data Synthesis and Graduated Rewardscited by 1
  23. 2026The Amazing Agent Race: Strong Tool Users, Weak Navigatorscited by 1
  24. 2026ToolWeave: Structured Synthesis of Complex Multi-Turn Tool-Calling Dialoguescited by 1
  25. 2026HyperTool: Beyond Step-Wise Tool Calls for Tool-Augmented Agentscited by 1
  26. 2025Repairing Tool Calls Using Post-tool Execution Reflection and RAGcited by 0
  27. 2026RAG Strategies for Natural Language-Based SQL Query and REST API Call Generationcited by 0
  28. 2026TIER: Trajectory-Invariant Execution Rewards for Multi-Step Tool Compositioncited by 0
  29. 2026What to Format and How: A Benchmark and Workflow Approach for Document Formattingcited by 0
  30. 2026Attributing Structured-Output Gains in Function Calling: Interface Alignment versus Procedural Transfercited by 0
  31. 2026Data Turnstile: A Scalable Open Framework for Function-Calling Data Generationcited by 0
  32. 2026PluginEval: A Diagnostic Benchmark for Fine-Grained Error Attribution in Function Callingcited by 0
  33. 2026VAKRA: Evaluating Multi-Hop Reasoning Across APIs and Retrieval Under Tool-Use Policiescited by 0
  34. 2026Proxy Confidence: Auditing Black-Box LLM Agents with a Surrogate's Log-Probabilitiescited by 0
  35. 2026Do Tool Calls Execute as Intended? Measuring and Repairing Intent-Execution Correspondence in LLM Agentscited by 0
  36. 2026AgentStripes: An Evidence-Graded Maturity Model for AI Agentscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025CallNavi, A Challenge and Empirical Study on LLM Function Calling and Routing
  2. 2026How Consistent Are LLM Agents? Measuring Behavioral Reproducibility in Multi-Step Tool-Calling Pipelines
  3. 2026The Bitter Lesson of Tool Calling
  4. 2024Designing Algorithms Empowered by Language Models: An Analytical Framework, Case Studies, and Insights
  5. 2026Gecko: A Simulation Environment with Stateful Feedback for Refining Agent Tool Calls
  6. 2026Who Tests the Testers? Systematic Enumeration and Coverage Audit of LLM Agent Tool Call Safety
  7. 2026Agent-Diff: Benchmarking LLM Agents on Enterprise API Tasks via Code Execution with State-Diff-Based Evaluation
  8. 2026UniACE: A Unified Framework for Evaluating LLM Agentic Capabilities