mlsanityData to 14 Oct 2026

Data Turnstile: A Scalable Open Framework for Function-Calling Data Generation

arXiv 2607.29250 ↗First posted 31 Jul 2026cs.CLcited by 0

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

Abstract (arXiv)

Small language models (SLMs) are attractive for agentic deployment due to low latency, reduced cost, and on-device privacy, yet they struggle with tool-use tasks where training data is scarce and noisy. Unlike larger models, SLMs cannot compensate for low-quality supervision through sheer capacity, making data quality the critical bottleneck. We present Data Turnstile, an open-source framework that takes user-defined API specifications and generates high-quality synthetic training data for function calling. Turnstile decomposes multi-turn tool-use interactions into constrained, stepwise generation with validation and error-feedback loops, providing fine-grained control over API diversity, conversation complexity, and output correctness. We demonstrate effectiveness of domain adaptation with Turnstile data on two challenging function calling benchmarks. On the BFCL single-turn benchmark, a Qwen3-0.6B fine-tuned on Turnstile data without chain-of-thought achieves 75.9% overall accuracy (versus 67.4% for the base model with thinking enabled), closing the gap with thinking-enabled Qwen3-1.7B (78.4%) and Qwen3-4B (79.9%) despite being 3× and 7× smaller respectively. On τ2-bench, a multi-turn agentic benchmark, Turnstile-trained Qwen3-1.7B achieves 31.1% pass1 on the Telecom domain, improving 4.7× over its 6.6% base and surpassing Qwen2.5-32B-Instruct (27.4%), a model 19× larger. Turnstile-trained Qwen3-0.6B achieves 24.6%, improving 7× over its 3.5% base and approaching the 32B model (53× larger). We release Data Turnstile along with a dataset spanning 1,000+ APIs and 100K+ multi-turn interactions.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Tool learning and function calling, one of 16 directions in LLM agents and tool use. Builds on 21 of its 31 references that are in the map. First posted on arXiv 31 Jul 2026.

Builds on

21 of 31 references.

Closest ancestors · 7

Same direction, newest first

  1. 2025Magnet: Multi-turn Tool-use Data Synthesis and Distillation via Graph Translation10 Mar
  2. 2024ToolFlow: Boosting LLM Tool-Calling Through Natural and Coherent Dialogue Synthesis24 Oct
  3. 2024Hammer: Robust Function-Calling for On-Device Language Models via Function Masking6 Oct
  4. 2024NESTFUL: A Benchmark for Evaluating LLMs on Nested Sequences of API Calls4 Sep
  5. 2024APIGen: Automated Pipeline for Generating Verifiable and Diverse Function-Calling Datasets26 Jun
  6. 2023Gorilla: Large Language Model Connected with Massive APIs24 May
  7. 2023Toolformer: Language Models Can Teach Themselves to Use Tools9 Feb

Other references · 14

  1. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  2. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  3. 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,724
  4. 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,407
  5. 2023CAMEL: Communicative Agents for "Mind" Exploration of Large Language Model Societycited by 1,395
  6. 2025τ2-Bench: Evaluating Conversational Agents in a Dual-Control Environmentcited by 627
  7. 2023Textbooks Are All You Needcited by 569
  8. 2022Beyond neural scaling laws: beating power law scaling via data pruningcited by 528
  9. 2025Small Language Models are the Future of Agentic AIcited by 270
  10. 2025APIGen-MT: Agentic Pipeline for Multi-Turn Data Generation via Simulated Agent-Human Interplaycited by 167
  11. 2023On the Tool Manipulation Capability of Open-source Large Language Modelscited by 122
  12. 2024xLAM: A Family of Large Action Models to Empower AI Agent Systemscited by 111
2 more
  1. 2023T-Eval: Evaluating the Tool Utilization Capability of Large Language Models Step by Stepcited by 93
  2. 2024GTA: A Benchmark for General Tool Agentscited by 77

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025RouteNator: A Router-Based Multi-Modal Architecture for Generating Synthetic Training Data for Function Calling LLMs
  2. 2026Turnslide: Scalable Multi-Turn Data Synthesis by Walking a Finite-State Machine
  3. 2024ToolACE: Winning the Points of LLM Function Calling
  4. 2025FunReason-MT Technical Report: Advanced Data Synthesis Solution for Real-world Multi-Turn Tool-use
  5. 2026GenesisFunc: Multi-Agent Data Generation for Accurate and Generalizable Function-Calling
  6. 2025Small Models, Big Tasks: An Exploratory Empirical Study on Small Language Models for Function Calling
  7. 2025On the Robustness of Agentic Function Calling
  8. 2025FABRIC: Framework for Agent-Based Realistic Intelligence Creation