Vapi Support
05/27/2024, 5:47 PMVapi Support
05/27/2024, 5:47 PMjson
{
"type": "function",
"messages": [
{
"type": "request-start",
"content": "Processing your request..."
},
{
"type": "request-complete",
"content": "Function executed successfully!"
}
],
"function": {
"name": "your_function_name",
"parameters": {},
"description": "A brief description of what the function does"
},
"async": false,
"server": {
"url": "https://your-server.com/your-function-endpoint"
}
}
[(1)]() , [(2)]()
2. **Customize the Tool Messages**: Edit the messages array to tailor the communication flow as per your needs, adding or removing messages to reflect the stages of function execution.
3. **Set Server URL**: Ensure that the server URL accurately points to your hosted function endpoint.
4. **Adapt to Your Needs**: Adjust the function details such as name and parameters based on the specific requirements of your server’s function.
For a more detailed setup and examples, you may refer to the Tools Calling section in the Vapi documentation [Tools Calling]() [(1)]() , [(2)]() .Sahil
05/27/2024, 6:10 PMJohn_Rodriguez_0906
05/27/2024, 10:41 PMVapi Support
05/27/2024, 10:46 PMSahil
05/28/2024, 9:53 AMSahil
06/03/2024, 12:43 PM