Vapi Support Bot
05/01/2025, 3:28 PMcallId, reason, and timestamp. Here's how you might modify your configuration:
json
"model": {
"model": "gpt-4o",
"tools": [
{
"type": "endCall",
"function": {
"arguments": {
"reason": "All questions answered, ending the call."
}
}
}
],
}
This allows your assistant to end calls with contextual information.
Source:
- [Discord conversation about endCall parameters](https://discord.com/channels/1211482211119796234/1305929557144240159)Alex Krasun
05/01/2025, 6:48 PMVapi Support Bot
05/01/2025, 6:49 PMendCallMessage parameter. This is the message your assistant will say before ending the call.
json
"model": {
"model": "gpt-4o",
"tools": [
{
"type": "endCall"
}
],
"endCallMessage": "Thanks for your time."
}
If unspecified, the assistant will hang up without saying anything.
Sources:
- [Vapi Documentation API Reference](https://docs.vapi.ai/api-reference/assistants/delete)
- [Vapi Documentation Outbound Sales Example](https://docs.vapi.ai/examples/outbound-sales)Chiranjeet Mishra
05/02/2025, 8:24 PM