Function calling allows LLMs to output structured requests to execute external functions. Instead of generating text, the model outputs a function name and arguments in a structured format that your code can execute.
This enables LLMs to interact with external systems, APIs, databases, and tools in a controlled, reliable way.