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 in Shopify, process orders in Stripe, or query your Salesforce CRM in real-time - essential for US e-commerce and B2B operations.
We implement function calling for US businesses to create AI assistants that integrate with popular American platforms - checking orders in Shopify, updating Salesforce records, sending Slack notifications, and connecting to 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."