https://retellai.com/?utm_source=discord&utm_medium=seo logo
Hi , im not fed up with the agent speaking tool c...
# ❓・ai-evy-support
n
Hi @AI Evy , im fed up with the agent speaking tool code , if anyone can help with a solution for this
a
Thanks for tagging me @nitin_juyal. I'll look through relevant sources and get back to you shortly.
### Answer This is a known issue where agents sometimes verbally speak tool call code instead of executing the function silently [(1) ]() [(2) ]() . Based on the available sources, this problem can be resolved by editing the agent's prompt [(1) ]() . For conversation flow agents specifically, you can troubleshoot this by: 1. Adjusting the node instructions - Make the instructions more specific about not verbalizing tool calls [(3) ]() 2. Adding conversation finetune examples - Provide examples showing proper tool call behavior without speaking the code 3. Splitting problematic nodes - If a node contains multiple instructions including tool calls, split it into separate nodes for better control The issue appears to be intermittent and can be particularly problematic for multilingual agents [(1) ]() [(2) ]() . The solution involves prompt engineering to explicitly instruct the agent not to verbalize the tool execution process.
​ To learn more, see the sources I considered: [[1] Help: Retell is having the agent say the tool call step and causing confusion](https://discord.com/channels/1186424376300679209/1288218861144903822) [[2] Discord message from @saracolorado_82636 on 2025-04-28](https://discord.com/channels/1186424376300679209/1186462578310910112/1366476982333735002) [[3] Debug guide](https://docs.retellai.com/build/conversation-flow/debug-guide) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
n
can you provide an exmaple wher eto update and how to better update it @AI Evy