https://retellai.com/?utm_source=discord&utm_medium=seo logo
No matter what I do in prompt or function descript...
# ❓・ai-evy-support
m
No matter what I do in prompt or function description, I cant get my agent to stay silent (not say anything) when invoking the function... How do I fix this? @AI Evy
a
Thanks for tagging me @Marlon. I'll look through relevant sources and get back to you shortly.
### Answer To make your agent stay silent when invoking a function, you need to configure the speech behavior settings differently depending on which approach you're using. For Conversation Flow (Function Node) : Turn off the Speak During Execution setting in the Function Node [(1) ]() . When this setting is disabled, the agent will not generate any utterance while the function is being executed . For Single/Multi-Prompt with Custom Functions: When creating your custom function, configure the speech behavior by disabling Speak during execution [(2) ]() . This setting controls whether the agent would speak the moment the function is called . When disabled, it prevents the agent from speaking during function execution, which is recommended for background tasks . The documentation specifically notes that the Speak during execution setting should be disabled for background tasks (like attaching notes to a call) and enabled for user-facing actions (like getting weather information) . Make sure you're configuring this setting in the function configuration itself, not just in the prompt or function description, as the speech behavior is controlled by these specific settings in the Retell AI dashboard.
​ To learn more, see the sources I considered: [[1] Function Node Overview](https://docs.retellai.com/build/conversation-flow/function-node) [[2] Integrate any system with custom function](https://docs.retellai.com/build/single-multi-prompt/custom-function) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
m
@AI Evy I'm using the built in cal.com check calendar availability function. I don't see an option there to disable "speak during execution".
a
Thanks for the follow-up, @Marlon. I'll get back to you soon.
### Answer You're correct that the built-in Cal.com Check Calendar Availability function doesn't have the same "speak during execution" toggle that custom functions have [(1) ]() . The documentation shows that when you add the check calendar availability function in Retell, you configure the tool name, API key, event type ID, tool description, and optional timezone . For the built-in Cal.com function, the speech behavior during execution appears to be handled differently than custom functions. The documentation suggests managing this through the prompt configuration instead . The guide recommends including explicit instructions in your prompt about when to invoke the function:
Copy code
When user stated a time range, please check the calendar availability by calling the `check_calendar_availability` function and let user know whether that range work or not.
To make the agent stay silent during the function execution, you might need to modify your prompt to instruct the agent not to speak while checking availability. Try adding specific instructions like "silently check availability" or "check availability without speaking" in your prompt configuration. If the built-in function doesn't provide the speech control you need, you may need to create a custom function instead, which would give you access to the "speak during execution" setting.
​ To learn more, see the sources I considered: [[1] Check Calendar Availability](https://docs.retellai.com/build/check-availability) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.