Step 3: Add function calling
Overview
After implementing basic conversations, your agent needs additional capabilities to perform actions such as:
- Transferring calls
- Booking appointments
- Retrieving external information (e.g., weather data)
- Managing call flow (e.g., ending calls)
- Integrating with your existing systems via API calls
These capabilities can be implemented using function calling.
Understanding Function Calling
Function calling (also known as tool calling) allows your voice agent to perform actions by:
- Calling external APIs
- Executing specific functions in your system
- Managing call flow operations
The LLM intelligently decides when to call these functions by outputting structured JSON objects containing the necessary arguments.
For a detailed understanding, we recommend:
Configuring Tool Calls
Dashboard Configuration
Access and manage tools in the agent detail page under the “Functions” section.
Tool Types
1. Pre-defined Tools
- Built-in tools available to all users
- Configurable triggers and parameters
- This includes tools to:
2. Custom Tools
- User-defined functions with custom signatures
- Configurable speech behavior during and after execution
- Support for background execution
- Learn more about custom tools
Video Tutorial
Was this page helpful?