xLAM Function-Calling (APIGen)
xLAM Function-Calling, also published under the name APIGen, is a dataset of 60,000 verifiable function-calling examples released in June 2024 by Salesforce AI Research. Each example pairs a natural language query with one or more structured function or API calls and their arguments, drawn from 3,673 executable APIs across 21 categories. It is the training data behind Salesforce's xLAM family of large action models. The examples were produced by the APIGen automated pipeline and passed through three verification stages (format checking, actual function execution and semantic verification). Salesforce reports that human evaluation of a 600-example sample found a correctness rate above 95 per cent. Roughly 33,659 entries were generated with DeepSeek-V2-Chat and the remainder with Mixtral-8x22B-Instruct.
Access is via Hugging Face, where the data ships as a single JSON file, but it is gated. You must be logged in and accept the terms before downloading, which is why we file it as limited rather than open. The accompanying paper (arXiv 2406.18518) and the APIGen project site document the pipeline and schema.
For RAG and AI work this is fine-tuning data, not a retrieval corpus. Use it to teach a model to read an instruction, select the right tool from a set and emit a correct, well-formed call with valid arguments. It is best for building single-turn and parallel function-calling capability rather than long multi-turn agent planning.
On licensing, verify carefully because the two licences differ. The dataset itself is released under CC BY 4.0, which permits commercial use provided you give attribution, and it is not share-alike. The trap is that the derived xLAM model weights carry a separate non-commercial licence (CC BY-NC 4.0), so the data being commercial-friendly does not make the models so.
It sits alongside Toucan-1.5M, our other agentic entry. Toucan is far larger and captures live multi-turn MCP tool trajectories, whereas xLAM is a tighter, heavily verified set of function-calling examples. Use xLAM for clean call formatting and Toucan for multi-step tool planning.
Related sources
APEX-Agents
Mercor's benchmark of 480 long-horizon, document-grounded professional tasks across investment banking, consulting and corporate law, with rubrics, gold outputs and an open execution harness for evaluating enterprise AI agents.
Berkeley Function-Calling Leaderboard (BFCL)
The de facto benchmark for how well language models call functions, APIs and tools. Built by UC Berkeley's Gorilla project, it spans Python, Java, JavaScript and REST with simple, parallel, irrelevance-detection, multi-turn and agentic cases. Apache 2.0 and freely available.
GAIA
The most-cited benchmark for general AI assistants: 466 real-world questions that need multi-step reasoning, live web browsing, file and image handling and tool use. Gated on Hugging Face, with test-set answers withheld for leaderboard scoring.
Glaive Function Calling v2
A widely used open dataset of about 113,000 synthetic multi-turn chat conversations that include function calls and their results, made by Glaive AI. One of the most downloaded open datasets for fine-tuning models to call tools, released under Apache 2.0.