https://retellai.com/?utm_source=discord&utm_medium=seo logo
: "Is there a way to dynamically disable interrupt...
# ❓・ai-evy-support
m
@AI Evy : "Is there a way to dynamically disable interruptions during specific function calls (like agent_transfer), while keeping interruptions enabled for the rest of the conversation? Similar to an allow_interruption: false parameter on function calls?". Use case: During agent transfer, I need the agent to complete a transfer message without being interrupted, but during normal conversation I want standard interruption behavior.
a
Thanks for tagging me @Moe. I'll look through relevant sources and get back to you shortly.
### Answer Based on the available documentation, there isn't a per-function-call parameter like
allow_interruption: false
that you can set dynamically during specific tool executions. However, here are the relevant options: Agent-level interruption control: You can set
interruption_sensitivity
at the agent level, with values ranging from 0 to 1. Setting it to 0 means the agent would never be interrupted. [(1) ]() Agent Transfer specific option: For Agent Transfer, you can configure "Speak during execution and messages" — this controls if the agent should speak something while performing the transfer. [(2) ]() , [(3) ]() Potential workarounds: 1. Use Agent Transfer to a second agent configured with
interruption_sensitivity: 0
specifically for delivering the transfer message, then transfer to the final destination agent. [(2) ]() , [(3) ]() 2. If using Conversation Flow, you could potentially route to a node that uses an agent with interruptions disabled for that specific step. The documentation does not show a way to dynamically toggle interruption behavior mid-conversation on a per-function basis. If this is a critical requirement, I'd suggest reaching out to Retell support: - Visit [Contact Sales]() - Check [) Would you like a general answer on how this might be approached architecturally?
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] Create Voice Agent](https://docs.retellai.com/api-references/create-agent) [[2] Agent Transfer](https://docs.retellai.com/build/single-multi-prompt/transfer-agent) [[3] Agent Transfer Node](https://docs.retellai.com/build/conversation-flow/transfer-agent-node) ​