Function Calling & Tool Use (2023) › Applications and Impact
History of Language AIAll chapters Function Calling & Tool Use (2023) › Applications and ImpactOne section · Sections in this chapter4 / 7 ↓
Reading tools Definitions & inline links
Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.
Article links
Make inline references clickable
Function calling enabled a wide range of practical applications that had been difficult or impossible to build with language models alone. One of the most immediate applications was in building AI agents that could interact with software systems and APIs. Developers could create agents that could check emails, query databases, make API calls, or control software systems, all through natural language interaction. The agent would understand user requests, reason about what functions to call, execute them, and provide meaningful responses based on the results.
Customer service applications were transformed by function calling capabilities. Instead of just generating text responses, language models could now access customer databases to retrieve account information, check order status, modify account settings, or perform other actions. A customer service agent built with function calling could answer "What's my order status?" by querying the order database and providing real, current information, rather than generating plausible but fabricated responses.
In software development, function calling enabled powerful coding assistants that could interact with development tools. These assistants could search documentation, execute code, test functions, read files, and perform other development tasks. They could go beyond generating code suggestions by running tests, checking results, and iterating based on feedback. This created a new class of development tools where AI assistants could actively participate in the software development workflow.
Data analysis applications were also revolutionized. Language models with function calling could query databases, run analysis scripts, generate visualizations, and extract insights from data, all through natural language interaction. Users could ask complex questions about their data, and the model would determine what queries or analyses to run, execute them, and explain the results. This made data analysis more accessible to non-technical users while enabling powerful automated analysis workflows.
The e-commerce and business automation sectors found numerous applications for function calling. AI agents could check inventory levels, process orders, update customer records, generate reports, and automate routine business tasks. These agents could integrate with existing business systems through their APIs. This provided a natural language interface to complex backend systems. This enabled new ways for businesses to automate workflows and provide customer service.
Function calling also enabled new types of AI-powered applications that combined language understanding with real-world actions. Travel assistants could check flight availability and prices in real-time, make bookings, and provide itinerary information. Personal assistants could manage calendars, send emails, set reminders, and interact with various productivity tools. Research assistants could search academic databases, retrieve papers, and synthesize information from multiple sources.
The impact extended to the development of more sophisticated agent frameworks and architectures. Function calling provided a foundation upon which developers could build complex multi-step workflows where agents could reason about tasks, break them down into subtasks, call functions to gather information or perform actions, and synthesize results. This enabled the development of agent systems that could handle complex, multi-step problems requiring coordination between multiple tools and information sources.
The reliability and structure of function calling outputs also made production applications less brittle. Applications could validate function call parameters against schemas, handle errors gracefully, and retry operations with confidence that the format would remain consistent. This addressed a weakness in earlier attempts to build agent systems with language models, making AI-powered automation more reliable and trustworthy.