Function Calling
Function calling is a capability that allows AI models to generate structured requests to external tools, APIs, and services, enabling them to take actions and retrieve real-time information beyond their training data.
What is Function Calling?
How Function Calling Works
Why Function Calling Matters for Business
Practical Applications
Related Terms
Explore further
FAQ
Frequently asked questions
Function calling is the underlying mechanism that powers AI plugins. A plugin defines a set of functions that the model can call. The key difference is that function calling is a general model capability, while plugins package specific functions for particular use cases.
Implement validation on all function call parameters, use allowlists for permitted functions, require human approval for high-impact actions, and apply rate limiting. The model decides what to call, but your application code controls what is actually executed.
Most major language models including GPT-4, Claude, Gemini, and Mistral support function calling. The quality of function calling varies between models, with larger models generally making more accurate tool use decisions.
Need help implementing this?
Our team can help you apply these concepts to your business. Book a free strategy call.