How It Works
Setup
1
Navigate to Agent Settings
Go to your agent settings
2
Add Custom Tool
In the Tools section click + Add to create a new custom tool
3
Configure Basic Settings
Fill in the configuration:
| Field | Description |
|---|---|
| Name | Identifier for your tool (e.g., check_account_balance) |
| Description | What the tool does and when to use it. |
| HTTP Method | GET, POST, PUT, PATCH, or DELETE |
| URL | Your API endpoint (must use HTTPS) |
| Response Timeout | 1-10 seconds |
4
Add Parameters
Configure headers, query parameters, and request body using the value types
below
5
Update System Prompt (Optional)
Add business rules and conversation flow for using the tool in your agent’s system prompt
Value Types
Use these value types for headers, query parameters, and request body:| Type | Description | Use Case |
|---|---|---|
| Constant | Static values | Fixed config |
| System Variable | Contact/call data | Customer email, phone number |
| LLM Parameter | AI-extracted from conversation | Account numbers, product IDs |
| Secret | Encrypted sensitive data | Auth tokens, passwords |
System Variable
To add contact and call data to your request you can use two available types: Standard Fields: Built-in contact and call informationcontact.firstName,contact.lastName,contact.phoneNumber,contact.externalIdcall.id
contact.contactDetails.*)
- Example:
contact.contactDetails.customerId,contact.contactDetails.accountTier
LLM Parameter
The AI extracts these values from the conversation by asking questions or inferring from context. When you configure an LLM Parameter, you provide:- Name: The parameter name in the API request
- Description: Instructions for the AI on what to extract and the expected format
- Data Type: String, Number, or Boolean
account_number with description “Customer’s account number (format: ACC-12345)” tells the AI to ask for and extract an account number in that format.