https://retellai.com/?utm_source=discord&utm_medium=seo logo
can an agent speak louder if asked to
# ❓・ai-evy-support
k
@AI Evy can an agent speak louder if asked to?
a
Thanks for tagging me @K Rudy. I'll look through relevant sources and get back to you shortly.
### Answer Yes, you can control the agent's volume using the
volume
parameter. [(1) ]() This setting controls the volume of the agent with a value ranging from
[0,2]
. A lower value means quieter agent speech, while a higher value means louder agent speech. If unset, the default value of
1
will apply. To make the agent speak louder, you would set the
volume
to a value greater than
1
(up to
2
) . However, this is a configuration setting that you would adjust when creating or updating the agent via the API—it's not something the agent can dynamically change mid-call based on a user's request. [(2) ]() [(3) ]() If you need the agent to respond to user requests to speak louder during a call, you would need to implement custom logic using tool calling to update the agent configuration or handle it through your own backend.
​ To learn more, see the sources I considered: [[1] Get Voice Agent](https://docs.retellai.com/api-references/get-agent) [[2] Update Voice Agent](https://docs.retellai.com/api-references/update-agent) [[3] Create Voice Agent](https://docs.retellai.com/api-references/create-agent) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
k
@AI Evy so the volume could be turned up in a specific call with some custom logic?
a
Thanks for the follow-up, @K Rudy. I'll get back to you soon.
### Answer Yes, you can adjust the volume for a specific call using agent overrides when initiating the call. [(1) ]() When making an outbound call, you can use the
agent_override
parameter to apply per-call overrides without changing the saved agent configuration. Here's an example:
Copy code
javascript
const registerCallResponse = await retell.call.createPhoneCall({
  from_number: '+14157774444',
  to_number: '+12137774445',
  agent_override: {
    agent: {
      voice_speed: 1.1,
      enable_backchannel: true,
    },
  },
}) ;
The
volume
parameter accepts a value ranging from `[0,2]`—lower values mean quieter speech, higher values mean louder speech, with a default of
1
. [(2) ]() So you could set
volume: 1.5
(or up to
2
) in the
agent_override.agent
object to make the agent speak louder for that specific call. For dynamically changing volume mid-call based on a user's request, you would need to implement custom function calling logic that triggers your backend to update the call or agent settings. [(2) ]()
​ To learn more, see the sources I considered: [[1] Outbound Calls (Make Calls)](https://docs.retellai.com/deploy/outbound-call) [[2] Update Voice Agent](https://docs.retellai.com/api-references/update-agent) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.