An LLM capability to output structured requests to external functions or APIs, enabling AI to take actions like searching databases or executing code.
Function calling (also called tool use) is a capability that allows LLMs to output structured requests to external functions, tools, or APIs. This bridges the gap between AI understanding and AI action.
How function calling works:
Function definition includes:
Common function calling use cases:
This capability transforms chatbots into agents that can take real actions, not just provide information.
Function calling transforms chatbots into capable agents that can check inventory, process orders, or query your systems in real-time.
We implement function calling for Australian businesses to create AI assistants that can actually do things - check orders, update records, send notifications, and integrate with business systems.
"AI determines it needs to check order status and outputs: {"function": "get_order", "order_id": "12345"} which your code executes against your database."