mlsanityData to 7 Oct 2026

In-N-Out: A Parameter-Level API Graph Dataset for Tool Agents

arXiv 2509.01560 ↗First posted 1 Sep 2025cs.CL cs.AIcited by 1

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

Abstract (arXiv)

Tool agents--LLM-based systems that interact with external APIs--offer a way to execute real-world tasks. However, as tasks become increasingly complex, these agents struggle to identify and call the correct APIs in the proper order. To tackle this problem, we investigate converting API documentation into a structured API graph that captures API dependencies and leveraging it for multi-tool queries that require compositional API calls. To support this, we introduce In-N-Out, the first expert-annotated dataset of API graphs built from two real-world API benchmarks and their documentation. Using In-N-Out significantly improves performance on both tool retrieval and multi-tool query generation, nearly doubling that of LLMs using documentation alone. Moreover, graphs generated by models fine-tuned on In-N-Out close 90% of this gap, showing that our dataset helps models learn to comprehend API documentation and parameter relationships. Our findings highlight the promise of using explicit API graphs for tool agents and the utility of In-N-Out as a valuable resource. We release our dataset and code at https://github.com/holi-lab/In-N-Out-API-Graph.

Key facts. Cited by 1 paper 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 30 of its 35 references that are in the map. First posted on arXiv 1 Sep 2025.

Builds on

30 of 35 references.

Closest ancestors · 16

Same direction, newest first

  1. 2025Retrieval Models Aren't Tool-Savvy: Benchmarking Tool Retrieval for Large Language Models3 Mar
  2. 2025ToolDial: Multi-turn Dialogue Generation Method for Tool-Augmented Language Models1 Mar
  3. 2025Graph RAG-Tool Fusion11 Feb
  4. 2024Toolshed: Scale Tool-Equipped Agents with Advanced RAG-Tool Fusion and Tool Knowledge Bases18 Oct
  5. 2024NesTools: A Dataset for Evaluating Nested Tool Learning Abilities of Large Language Models15 Oct
  6. 2024NESTFUL: A Benchmark for Evaluating LLMs on Nested Sequences of API Calls4 Sep
  7. 2024Seal-Tools: Self-Instruct Tool Learning Dataset for Agent Tuning and Detailed Benchmark14 May
  8. 2024AnyTool: Self-Reflective, Hierarchical Agents for Large-Scale API Calls6 Feb
  9. 2024EASYTOOL: Enhancing LLM-based Agents with Concise Tool Instruction11 Jan
  10. 2023MetaTool Benchmark for Large Language Models: Deciding Whether to Use Tools and Which to Use4 Oct
  11. 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs31 Jul
  12. 2023ToolQA: A Dataset for LLM Question Answering with External Tools23 Jun
4 more
  1. 2023Gorilla: Large Language Model Connected with Massive APIs24 May
  2. 2023ToolkenGPT: Augmenting Frozen Language Models with Massive Tools via Tool Embeddings19 May
  3. 2023API-Bank: A Comprehensive Benchmark for Tool-Augmented LLMs14 Apr
  4. 2023Toolformer: Language Models Can Teach Themselves to Use Tools9 Feb

Other references · 14

  1. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  2. 2024τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domainscited by 1,280
  3. 2023HuggingGPT: Solving AI Tasks with ChatGPT and its Friends in Hugging Facecited by 1,173
  4. 2024AppWorld: A Controllable World of Apps and People for Benchmarking Interactive Coding Agentscited by 359
  5. 2023TaskBench: Benchmarking Large Language Models for Task Automationcited by 138
  6. 2023RestGPT: Connecting Large Language Models with Real-World RESTful APIscited by 129
  7. 2025LocAgent: Graph-Guided LLM Agents for Code Localizationcited by 82
  8. 2024ToolGen: Unified Tool Retrieval and Calling via Generationcited by 72
  9. 2023ControlLLM: Augment Language Models with Tools by Searching on Graphscited by 59
  10. 2024ToolNet: Connecting Large Language Models with Massive Tools via Tool Graphcited by 59
  11. 2024Re-Invoke: Tool Invocation Rewriting for Zero-Shot Tool Retrievalcited by 50
  12. 2024ShortcutsBench: A Large-Scale Real-world Benchmark for API-based Agentscited by 36
2 more
  1. 2024Enhancing Tool Retrieval with Iterative Feedback from Large Language Modelscited by 17
  2. 2024SoAy: A Solution-based LLM API-using Methodology for Academic Information Seekingcited by 7

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2025Live API-Bench: 2500+ Live APIs for Testing Multi-Step Tool Calling
  2. 2026Firefly: Illuminating Large-Scale Verified Tool-Call Data Generation from Real APIs
  3. 2025Learning API Functionality from In-Context Demonstrations for Tool-based Agents
  4. 2025Automated Creation and Enrichment Framework for Improved Invocation of Enterprise APIs as Tools
  5. 2026Diagnosing Knowledge Gaps in LLM Tool Use: An Agentic Benchmark for Novel API Acquisition
  6. 2026SkillGraph: Graph Foundation Priors for LLM Agent Tool Sequence Recommendation
  7. 2026VAKRA: Evaluating Multi-Hop Reasoning Across APIs and Retrieval Under Tool-Use Policies
  8. 2026Multi-Step Tool-Calling over Korean Open Public APIs: A Benchmark and a Data-Synthesis Recipe