Think-Augmented Function Calling: Improving LLM Parameter Accuracy Through Embedded Reasoning
Lei Wei, Xiao Peng, Jinpeng Ou, Bin Wang

TL;DR
This paper introduces Think-Augmented Function Calling (TAFC), a framework that improves large language models' function parameter accuracy by incorporating explicit, fine-grained reasoning and decision justification without modifying model architecture.
Contribution
TAFC provides a novel reasoning-guided approach that enhances parameter accuracy and interpretability in LLM function calling, applicable to existing models without architectural changes.
Findings
Significant improvements in parameter accuracy on ToolBench benchmarks
Enhanced reasoning coherence and interpretability
Effective handling of complex, multi-parameter functions
Abstract
Large language models (LLMs) have demonstrated remarkable capabilities in function calling for autonomous agents, yet current mechanisms lack explicit reasoning transparency during parameter generation, particularly for complex functions with interdependent parameters. While existing approaches like chain-of-thought prompting operate at the agent level, they fail to provide fine-grained reasoning guidance for individual function parameters. To address these limitations, we propose Think-Augmented Function Calling (TAFC), a novel framework that enhances function calling accuracy through explicit reasoning at both function and parameter levels. Our method introduces a universal "think" parameter augmentation that enables models to articulate their decision-making process, with dynamic optimization for parameter descriptions to improve reasoning quality. For complex parameters, TAFC…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMultimodal Machine Learning Applications · Topic Modeling · Explainable Artificial Intelligence (XAI)
