This is the repository for the LinkedIn Learning course OpenAI API: Function Calling. The full course is available from LinkedIn Learning.
Tools and function calling unlock the potential of AI apps by letting the apps run software and perform tasks. In this course, explore how tools work in the OpenAI Responses API and how to choose the right approach for the capability you need. You integrate built-in tools such as web browsing, then add new behavior with custom functions that let your app take real actions and return structured results. You can also extend your app beyond a single environment by connecting it to local and hosted Model Context Protocol (MCP) servers, enabling your AI to access the services and resources you want—without hardwiring every integration directly into your app.
This repository has a single main branch with a fully built out app with multiple pages, each demonstrating a different feature of tool and function calling in the OpenAI Responses API.
Full setup instructions are found in chapter 1 of the course.
To use the exercise files:
- Open the repo in GitHub Codespaces
- Run
npm installin the terminal to install dependencies - Run
npm run devto start the development server - Follow the instructions in terminal to open the app in your browser
- Press
Ctrl + Cin terminal at any time to stop the development server
Morten Rand-Hendriksen
Principal Staff Instructor, Speaker, Web Designer, and Software Developer