What is Function Calling?
Function Calling (Tool Use)
A capability of modern LLMs to call external functions or tools as part of generating a response. Function calling enables LLMs to interact with databases, APIs, code execution environments, and other external systems.
How Function Calling Works
The application provides the LLM with a list of available functions, each with a name, description, and parameter schema. When the LLM determines a function is needed, it generates a structured call (typically JSON) with the function name and parameters. The application executes the function, captures the result, and feeds it back to the LLM. The cycle continues until the LLM produces a final user-facing response. OpenAI introduced function calling in 2023; all major LLM providers now support similar capabilities.
Why Function Calling Matters
Function calling is the bridge between LLMs and the real world. Without it, an LLM is a sophisticated text predictor. With it, an LLM can query databases, send emails, search the web, run code, and interact with any system that has an API. This is the foundation for AI agents and most production AI applications.
Practical Example
A travel booking startup uses function calling with Claude to handle natural-language booking requests. The model has access to functions for searching flights, checking hotel availability, and processing payments. A customer asking "Find me a flight to Tokyo next Tuesday under $1500 with morning departures" results in 3-5 function calls and a structured booking option in seconds.
Use Cases
- AI assistants
- Customer service automation
- Data analysis tools
- Workflow automation
Salary Impact
Function calling fluency is baseline for AI application engineering roles paying $180K and up.
Where this skill pays off
This skill shows up most in software engineering roles. See live data on the AI premium, the tools, and what hiring managers screen for.
AI for Software Engineering → · Skills page · Salary breakdown
Related Terms
Concepts that pair with this one. Each links to a deep explainer.
Related Skills
Frequently Asked Questions
What does Function Calling stand for?
Function Calling stands for Function Calling (Tool Use). A capability of modern LLMs to call external functions or tools as part of generating a response. Function calling enables LLMs to interact with databases, APIs, code execution environments, and other external systems.
What skills do I need to work with Function Calling?
Key skills for Function Calling include: LLM APIs, JSON Schema, API Integration, AI Agents. Most roles also expect Python proficiency and experience with production systems.
How does Function Calling affect salary?
Function calling fluency is baseline for AI application engineering roles paying $180K and up.
Track AI Skill Demand
See which skills are growing fastest in the AI job market.