Manuscript Offprint

arXiv:2608.22472

Small Reasoning Models are Instruction Followers in Function Calling

Yalda Taheri, Mohammad Hassan Heydari, Erfan Naaman, Afsaneh Fatemi

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Function calling represents the core capability of agentic large language models (LLMs). Existing research has focused on enhancing LLMs' function-calling accuracy through fine-tuning, reinforcement learning (RL), and multi-agent frameworks, particularly for native function-calling LLMs. This work demonstrates that LLMs achieve superior accuracy in function calling in instruction-following contexts (i.e., standard user-assistant interactions) rather than a tool calling context. We introduce Instruction-Followed Function Calling (IFFC), a novel framework that decouples function-calling logic from the primary LLM and delegates it to a dedicated smaller model operating within the instruction-following paradigm. Our method consistently outperforms both native function calling (NFC) and prompt-based function calling (PFC) baselines, with particularly strong gains on reasoning-oriented LLMs. Furthermore, we demonstrate that IFFC maintains robust performance under aggressive quantization, enabling efficient on-device deployment without significant accuracy degradation. This work establishes a new paradigm for reliable, resource-efficient function calling in edge-computing scenarios.

1 Introduction

The evolution of artificial intelligence has transitioned from static text generation to autonomous, active problem-solving, a paradigm known as "Agentic AI" (Patil et al., 2025). At the core of this transition is function calling, which enables models to interact with external environments by selecting tools, generating arguments, and executing actions (Kavathekar et al., 2025). While massive proprietary models initially dominated this space, there is a growing shift toward specialized, task-specific agents that are often more suitable for structured and repetitive workflows than generalist architectures (Belcak et al., 2025; Zeng et al., 2025).

Mohammad Hassan Heydari

Department of Computer Engineering

University of Isfahan

m.heydari@mehr.ui.ac.ir

Afsaneh Fatemi

Department of Computer Engineering

University of Isfahan

a_fatemi@eng.ui.ac.ir

Simultaneously, Small Language Models (SLMs) ranging from 0.5 to 15 billion parameters have emerged as a practical alternative to massive models, which often suffer from high computational demands, latency, and privacy risks (Samoylenko; Xu et al., 2024). When specialized, these compact models can rival their larger counterparts in domain-specific applications, such as fault diagnosis and code generation, while remaining accessible to edge devices and common hardware (Kumar et al., 2025; Nath et al., 2025; Sinha et al., 2025). This makes the intersection of SLMs and localized agentic workflows a highly promising area of deployment. However, enabling robust function calling within SLMs presents distinct challenges, as these smaller models frequently struggle with rigid syntactic constraints, complex JSON schemas, and multi-step reasoning (Kavathekar et al., 2025; Sharma and Mehta, 2025). Although techniques such as targeted fine-tuning, reinforcement learning, and advanced prompt engineering have been proposed to mitigate these limitations (Jhandi et al., 2025; Paprunia et al., 2025; Han et al., 2025), many of these approaches continue to force SLMs into native function-calling paradigms designed for larger models. Consequently, this often leads to suboptimal format adherence and fragile execution logic in constrained environments.

In this paper, we challenge the prevailing reliance on native function calling (NFC) for agentic tasks. We posit that the architectural strengths of language models, particularly those optimized for reasoning, lie in following natural language instructions rather than manipulating rigid tool definitions (Johnson et al., 2025). We introduce Instruction-Followed Function Calling (IFFC), a framework that re-imagines the tool-use process by decoupling the function calling task from the main question-answering (QA) model and assign it to another model (in our case, an SLM) which separates their contexts entirely (Roth et al., 2025; Jeon

Figure

Figure 1: Overview of Instruction-Followed Function Calling (IFFC) framework against traditional function calling approach.

et al., 2025). By delegating the function-calling mechanism to a dedicated, instruction-following paradigm with Reason-Action (ReAct) mechanism, we bypass the limitations inherent in native tool support. Our contributions are as follows:

• We demonstrate that, contrary to common practice, models achieve superior function-calling accuracy in instruction-following contexts (a.k.a. regular user-assistant prompting context) compared to native tool-calling contexts.

• We propose the IFFC framework, which first uses PFC as its tool calling method and then enables smaller reasoning models (SRMs) to execute complex tool usage with higher reliability than native baselines, while being completely separated from the main QA LLM. We show that this context separation allows the SRM to be less context polluted by the outputs of the QA LLM. This hypothesis, which assumes that reasoning models perform better than non-reasoning models, is validated throughout our experiments

• We validate the efficiency of our approach by showing that IFFC maintains robust performance even under aggressive quantization. This establishes a viable path for deploying accurate, privacy-preserving agentic capabilities on resource-constrained edge devices.

References (22)