https://retellai.com/?utm_source=discord&utm_medium=seo logo
what is the exact syntax to use in the prompt to c...
# ❓・ai-evy-support
j
@AI Evy what is the exact syntax to use in the prompt to call a function and ensure it doesn't speak it out loud? Assume the function is called this_function
a
Thanks for tagging me @Jeff Zigman TheBusinessCTO. I'll look through relevant sources and get back to you shortly.
### Answer To call a function from your prompt without the agent speaking during execution, you need to configure the function's Speak During Execution setting. [(1) ]() For custom functions, when you create or edit
this_function
in the dashboard: 1. Go to the "Functions" section and select your function [(2) ]() 2. Disable "Speak During Execution" — when disabled, the agent will not generate an utterance while the function is being called [(1) ]() For the prompt itself, you can include instructions like: [(3) ]()
Copy code
When [condition], use the this_function tool to [action].
There isn't a specific "syntax" in the prompt that controls whether the agent speaks—that behavior is controlled by the Speak During Execution toggle in the function configuration settings. [(1) ]() If you're using Conversation Flow, the Function Node has a similar setting: disable "Speak During Execution" and the agent will transition immediately after the function is invoked without speaking. [(4) ]() A community tip: adding a number to your function name (e.g.,
this_function_152
) can help the AI identify it more reliably. [(5) ]()
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
​ To learn more, see the sources I considered: [[1] Integrate any system with custom function](https://docs.retellai.com/build/single-multi-prompt/custom-function) [[2] Function Calling Overview](https://docs.retellai.com/build/single-multi-prompt/function-calling) [[3] End call](https://docs.retellai.com/build/single-multi-prompt/end-call) [[4] Function Node Overview](https://docs.retellai.com/build/conversation-flow/function-node) [[5] Discord message from @_superwhale on 2025-01-24](https://discord.com/channels/1186424376300679209/1294891368505937952/1332171997744205925) ​