On the Robustness of Agentic Function Calling
Ella Rabinovich, Ateret Anaby-Tavor
TL;DR
This work investigates the robustness of agentic function calling in large language models, addressing resilience to meaning-preserving input perturbations and toolkit expansion with related tools. It introduces a BFCL-based benchmark combining two perturbation axes—paraphrased user queries and expanded toolkits—to evaluate FC construction via AST-based correctness across multiple state-of-the-art models. The results reveal substantial fragility: many errors stem from parameter-value mismatches under exact-match evaluation, and toolkit expansion broadly degrades performance across models, highlighting gaps in current evaluation methods and real-world deployment challenges. The study emphasizes the need for semantic-aware evaluation and more diverse toolkits in agentic FC, outlining future work to broaden datasets and include non-relevant tools for more realistic robustness assessment.
Abstract
Large Language Models (LLMs) are increasingly acting as autonomous agents, with function calling (FC) capabilities enabling them to invoke specific tools for tasks. While prior research has primarily focused on improving FC accuracy, little attention has been given to the robustness of these agents to perturbations in their input. We introduce a benchmark assessing FC robustness in two key areas: resilience to naturalistic query variations, and stability in function calling when the toolkit expands with semantically related tools. Evaluating best-performing FC models on a carefully expanded subset of the Berkeley function calling leaderboard (BFCL), we identify critical weaknesses in existing evaluation methodologies, and highlight areas for improvement in real-world agentic deployments.
