End Call
The End Call tool lets your voice agent programmatically hang up a call based on conversation context. Instead of waiting for the caller to disconnect, your agent can end the call gracefully after resolving the issue, completing a booking, or when the conversation reaches a natural conclusion.When to Use
- The caller’s issue is resolved and they say “goodbye” or “thank you”
- The agent has completed its task (e.g., appointment booked, order status provided)
- The caller is unresponsive or silent for too long
- The conversation reaches a predefined time limit
- The caller is abusive or violating usage policies
Configuration
Via the Dashboard
- Open your agent and scroll to Voice Settings.
- Enable End Call.
- Configure the options:
- Click Save.
Via the API
System Prompt Guidance
Add instructions to your agent’s system prompt to control when it should end calls:Post-Call Webhook
When a call ends, thinnestAI sends a webhook to your configured URL with the call summary:end_reason field indicates why the call ended:

