Jimmy
10/25/2025, 12:10 AMVapi Support Bot
10/25/2025, 12:12 AMjson
"tools": [
{ "type": "endCall" }
]
The endCallFunctionEnabled field is deprecated and not required—using the tools array as shown above is the current, supported approach.
For more details, see the [Default Tools documentation](https://docs.vapi.ai/tools/default-tools).
Source:
- [Default Tools documentation](https://docs.vapi.ai/tools/default-tools)Chiranjeet Mishra
10/27/2025, 7:36 PMend-call message type in the ClientInboundMessage. Simply set the type property to "end-call" when sending inbound messages to end the call. For more details, you can refer to the [update documentation](https://docs.vapi.ai/changelog/2025/1/14).
If you encounter a specific call end reason you want to handle, such as the new pipeline-error-eleven-labs-vapi-voice-disabled-by-owner, your application can be updated to react appropriately. This is detailed in the [June 9, 2025 update](https://docs.vapi.ai/changelog/2025/6/9).
For a comprehensive list of possible call end reasons, you can check the [end reason codes documentation](https://docs.vapi.ai/calls/call-ended-reason).Jimmy
10/28/2025, 10:52 AMChiranjeet Mishra
10/30/2025, 6:24 AMendCall tool is essentially the same as enabling the endCallFunctionEnabled property. The current best practice is to attach the tool directly in your assistant’s configuration, and then configure it as needed for your use case.
This ensures compatibility with the latest API updates and gives you more flexibility in managing when and how the call should be ended.