K Rudy
03/05/2026, 9:57 PMAI Evy
03/05/2026, 9:58 PMAI Evy
03/05/2026, 9:58 PMjavascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const agentResponse = await client.agent.update('16b980523634a6dc504898cda492e939', {
agent_name: 'Jarvis',
}) ;
console.log(agentResponse.agent_id) ;
## Updating During a Live Call (Custom LLM)
If you're using a Custom LLM via WebSocket, you can send an update_agent event during the call to modify these settings dynamically:
- **responsiveness**: Adjusts how long the agent waits before responding [(2) ]()
- **interruption_sensitivity**: Adjusts how easily the user can interrupt
- **reminder_trigger_ms**: Sets the time (in milliseconds) before a reminder is triggered if the user is silent
- **reminder_max_count**: Controls how many times the agent will remind an unresponsive user
These configurations allow you to fine-tune the timing of agent responses to achieve more natural conversation flow. [(3) ]()AI Evy
03/05/2026, 9:58 PMAI Evy
03/05/2026, 9:58 PMK Rudy
03/05/2026, 9:59 PMAI Evy
03/05/2026, 9:59 PMAI Evy
03/05/2026, 10:00 PMreminder_trigger_ms and reminder_max_count parameters to detect prolonged user silence. When the user is silent for a set duration, the agent can trigger a reminder. After the max reminders are reached without a response, you can instruct the agent to transfer the call. [(1) ]()
2. Add a Transfer Call Tool to your agent configuration. You can set the transfer number to either:
- A number in e.164 format
- A SIP URI (e.g., sip:user@retellai.com)
- A dynamic variable that gets substituted at runtime [(2) ]()
3. Update your prompt to include logic like:
> "If the user has been silent after multiple reminders, assume this may be an emergency and use the transfer_call tool to transfer to emergency services or a human agent."
## Transfer Types
- **Cold transfer**: The call is transferred directly to the destination.
- **Warm transfer**: The AI can detect if the other side is human, leave private messages, or do a three-way introduction before completing the handoff. , [(3) ]()
## Using Conversation Flow
If you're using Conversation Flow, you can use the Call Transfer Node to handle the transfer. The agent won't speak while in this node. If you want the agent to say something like "Let me transfer you right away" before transferring, place a conversation node (with "skip response" turned on) before the transfer node. [(4) ]()
The transition toAI Evy
03/05/2026, 10:00 PMAI Evy
03/05/2026, 10:00 PMAI Evy
03/05/2026, 10:00 PMK Rudy
03/05/2026, 10:02 PMAI Evy
03/05/2026, 10:02 PMAI Evy
03/05/2026, 10:02 PMreminder_trigger_ms and reminder_max_count parameters control silence behavior at the agent level, not per-node. [(1) ]()
- `reminder_trigger_ms`: Triggers a reminder if the user is silent for the specified duration (default 10,000 ms / 10 seconds)
- `reminder_max_count`: Controls how many times the agent reminds an unresponsive user before taking action
2. Use Transition Conditions with Prompt Logic
You can configure the edge/transition from your first node to the transfer node using a prompt-based condition. In your node's edges, set a transition condition that detects when the user hasn't responded meaningfully. [(2) ]()
3. Leverage Global Node Fine Tuning
You can add example conversations to help the AI know when to jump to specific nodes (like your transfer node) based on silence behavior. [(3) ]()
## Limitation
From community discussions, users have noted that the LLM doesn't inherently understand precise time durations like "3-4 seconds," but it can detect when a silence timeout occurs. [(4) ]() The agent-level reminder_trigger_ms setting is what actually controls the silence timeout behavior.
## Recommendation
Set reminder_trigger_ms to 5000 (5 seconds) and reminder_max_count to 0 or 1 at the agent level, then instruct your first node's prompt to transfer the call if the user doesn't respond after the reminder. AlternativeAI Evy
03/05/2026, 10:02 PMAI Evy
03/05/2026, 10:02 PMAI Evy
03/05/2026, 10:02 PMK Rudy
03/05/2026, 10:09 PMAI Evy
03/05/2026, 10:09 PMAI Evy
03/05/2026, 10:09 PMreminder_trigger_ms and reminder_max_count control reminder behavior, but these are configuration parameters—not runtime counters you can access during the call. [(1) ]() [(2) ]()
## Potential Workarounds
1. Post-Call Analysis
You could create a custom post-call analysis field to extract reminder count from the transcript after the call ends. Post-call analysis supports Boolean, Text, Number, and Selector data types. [(3) ]()
For example, you could add a Number-type analysis field with a description like "Count how many times the agent reminded the user to respond."
2. Custom Function Approach
If you need to track reminders mid-conversation, you could potentially use a custom function that increments a counter each time the agent's reminder logic triggers, then store that value in a dynamic variable for use in your prompt logic. [(4) ]()
However, there's no documented native feature to directly access a "reminder count" variable during an active call.
Check out these potentially useful sources:
- [Update Voice Agent]()
- [Post Call Analysis Overview]()
- [Dynamic Variables]()
Would you like me to try to provide a general answer about potential implementation approaches?AI Evy
03/05/2026, 10:09 PMAI Evy
03/05/2026, 10:09 PM