Skip to main content
Function calls allow the agent to perform real actions such as booking appointments or transferring calls.
Tool Call
SigmaMind supports three function call types:
  • App Tool Calls
  • Voice Tool Calls
  • Extract Variables

App Tool Calls

App Tool Calls allow the agent to interact with external applications such as booking systems, CRM, or databases. Use App Tool Calls when the agent needs to fetch data, create records, or perform actions outside the conversation.
App Call
To configure an App Tool Call:
  1. Click Add Tool Call
  2. Select App Tool Call
  3. Choose the Tool/App
  4. Select the Action (function to call)
  5. Add a Description to define when the function should be called(highly recommended)
  6. Click Submit
Examples:
  • get_available_slots
  • book_appointment
  • update_crm

Voice Tool Calls

Voice Tool Calls allow the agent to control the call flow, such as transferring the call to a human agent or ending the call programmatically.
Voice Call
To configure:
  1. Click Add tool/function calls
  2. Select Voice Tool Call
  3. Select Action
  4. Click Submit
You can perform the following actions:
  1. voice_transfer_call
  2. voice_end_call
voice_transfer_call

This function transfers the call from the AI agent to a human agent or an external phone number.

Use this when:
  • The user requests a human agent
  • The issue requires human assistance
  • Escalation is needed
Example
If the user is looking for pricing details of the solar setup, immediately call "voice_transfer_call".

Voice End Call

This function allows the agent to end the call automatically when the conversation is complete or the user no longer needs assistance. This ensures a clean and professional call termination without requiring manual intervention. Call this function when:
  • Conversation is complete
  • Task or request has been successfully finished
  • User confirms no further help is needed
  • User says goodbye or wants to end the call
  • User is frustrated or does not want to continue
  • Call needs to be terminated gracefully
Example prompt instruction:
Call "voice_end_call" when the user is not interested, or the user is frustrated and wants to end the call.

Extract Variables

Extract Variables allow the agent to capture and store important information from the conversation, such as customer name, phone number, or appointment details. Please note that this is useful when the call and chat are still going on and it has not yet completed.
Extract Variable
Variables must be defined using double curly braces:
{{variable_name}}
Examples:
{{customer_name}}

{{phone_number}}

{{appointment_date}}
When the agent collects this information during the conversation, SigmaMind automatically extracts and stores the values for use in function calls, integrations, and workflows.

Function Description Field (Optional)

Each function includes a Description (When to call this function) field. This field provides additional guidance. Example:
Call this function after collecting the appointment date.