Introduction
Function calling transforms your AI agent from a conversational interface into an action-oriented assistant. By connecting your agent to functions, you enable it to interact with external systems, manage call flows, and perform real-world tasks.Common Use Cases
Call Management
- Transfer calls: Route to human agents or other departments
- End calls: Gracefully terminate conversations
- Send DTMF tones: Navigate phone menus
Business Operations
- Schedule and book appointments
- Check availability across systems
- Create, modify, or cancel orders
Data Integration
- Retrieve information from external systems
- Update customer records and case details
- Trigger notifications via email, SMS, or push
How Function Calling Works
1
LLM detects need
Based on conversation context, the LLM determines when a function is needed.
2
Parameters extracted
The agent pulls the required values from the conversation.
3
Function executes
UponAI runs the function against the configured endpoint or built-in tool.
4
Result integrated
The response feeds back into the ongoing conversation.
Available Function Types
Pre-built Functions
Six ready-to-use options: End Call, Transfer Call, Press Digits, Check Availability, Book Calendar, and Send SMS.
Custom Functions
Connect your own APIs, implement business logic, and trigger workflows in external systems.
Code Tool
Execute JavaScript directly in UponAI’s sandbox for data transformation, simple API calls, and calculations — no external server needed.