https://retellai.com/?utm_source=discord&utm_medium=seo logo
in components can you end a call because currently...
# ❓・ai-evy-support
m
@AI Evy in components can you end a call because currently it just does exist component
a
Thanks for tagging me @Mikey. I'll look through relevant sources and get back to you shortly.
### Answer --- Components themselves only have an "Exit Component" node, which returns control to the main flow rather than ending the call. [(1) ]() To end a call from within a component, you have two options: 1. Use an End Call function inside the component — Components can include function nodes and use your configured tools, including the
end_call
tool. Define the tool within the component (tools defined in components are not visible at the agent level) . 2. Route back to the main flow and use an End Node there — Have your component's Exit node transition to an End Node in your main Conversation Flow that triggers the call hangup. [(2) ]() If you're using function calling, make sure to define
end_call
, have the model choose it, and send
end_call: true
.
​ To learn more, see the sources I considered: [[1] Components](https://docs.retellai.com/build/conversation-flow/components) [[2] End Call Function Doesn’t Work](https://discord.com/channels/1186424376300679209/1356072431994933399) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.