danielgarcia_85844
07/30/2025, 11:53 PMAI Evy
07/30/2025, 11:53 PMAI Evy
07/30/2025, 11:53 PMupdate_only events that contain complete live transcripts collected during the call . The transcript is presented as a list of utterances with detailed information .
## 2. WebSocket API for Live Updates
The LLM WebSocket endpoint is: {your-server-websocket-endpoint}/{call_id} . This WebSocket provides several event types :
- `update_only`: Real-time transcript and turntaking updates
- `response_required`: When the agent needs a response
- `reminder_required`: When a reminder is needed
## 3. Custom Tool Injection
Retell AI supports both pre-defined and custom tools that can be called during conversations [(2) ]() . You can implement custom tools with user-defined functions, custom signatures, and configurable speech behavior . These tools allow calling external APIs, executing specific functions in your system, and managing call flow operations .
The LLM intelligently decides when to call these functions by outputting structured JSON objects containing the necessary arguments .
## 4. Latency Information
Retell AI typically achieves sub-800ms end-to-end latency [(3) ]() . The platform measures latency in milliseconds and considers anything longer than 300-500 milliseconds as potentially disruptive to natural conversation flow .
## 5. Best Approach for Real-time Monitoring
For real-time call monitoring, you can use the Custom LLM integration with WebSocket [(1) ](httpAI Evy
07/30/2025, 11:53 PMupdate_only events
- Turn-taking information to know when speakers change
- Tool call invocation and result tracking
For your specific use case of dynamically providing tools based on conversation content, you can:
1. Monitor the real-time transcript through WebSocket updates
2. Analyze the conversation content in your backend
3. Use custom functions to fetch relevant data from your database [(2) ]()
4. Return structured responses that the agent can use [(1) ]()
The system supports streaming responses for lower latency and allows you to send multiple events to stream back responses .AI Evy
07/30/2025, 11:53 PMAI Evy
07/30/2025, 11:53 PMdanielgarcia_85844
07/30/2025, 11:59 PMAI Evy
07/30/2025, 11:59 PMAI Evy
07/30/2025, 11:59 PMupdate_only events
- Respond to response_required and reminder_required events
- Send custom responses and control call flow
- Implement tool calling and function execution
The WebSocket endpoint format is: {your-server-websocket-endpoint}/{call_id}
Retell provides comprehensive documentation and example repositories for setting up WebSocket servers [(2) ]() [(3) ]() [(4) ]() , including Node.js and Python implementations. The platform continues to maintain and update this functionality as a core feature for custom LLM integration.
The Discord discussions also confirm ongoing usage, with developers actively deploying WebSocket-based solutions and seeking best practices for scaling concurrent calls [(5) ]() .AI Evy
07/30/2025, 11:59 PMAI Evy
07/30/2025, 11:59 PM