neerajjoshi_
05/14/2026, 4:39 PMAI Evy
05/14/2026, 4:39 PMAI Evy
05/14/2026, 4:40 PMname, call, and args. [(2) ]() Your response should return data that the LLM can process—this can be JSON or plain text depending on what you need the agent to understand and communicate.
Based on community experience, one user found that their backend was returning data correctly but the agent wasn't using it properly until they switched from smee.io to ngrok for tunneling. [(3) ]() Another user reported an issue where the agent was announcing the entire JSON object instead of just the intended message. [(4) ]()
The key is ensuring your response format matches what you've described in your function's JSON schema parameters and what the LLM expects to process for the conversation. [(5) ]()AI Evy
05/14/2026, 4:40 PMAI Evy
05/14/2026, 4:40 PMneerajjoshi_
05/14/2026, 6:03 PMAI Evy
05/14/2026, 6:03 PMAI Evy
05/14/2026, 6:04 PM{{variable_name}} syntax. For example, you could use {{customer_id}} or {{order_number}} as query parameter values that get resolved at runtime with the actual values passed when the call is created.AI Evy
05/14/2026, 6:04 PMAI Evy
05/14/2026, 6:04 PMneerajjoshi_
05/14/2026, 6:04 PMAI Evy
05/14/2026, 6:04 PMAI Evy
05/14/2026, 6:04 PM{{variable_name}} syntax in query parameters, URLs, headers, and other configuration fields [(3) ]() . Dynamic variables work in tool configurations including custom function URLs, tool descriptions, and property descriptions .
If MCP refers to a specific integration or tool type within Retell AI that isn't covered in the standard Custom Function documentation, I'd need more details to provide an accurate answer.
Could you clarify what MCP stands for in your use case, or point me to where you're seeing this referenced?AI Evy
05/14/2026, 6:04 PMAI Evy
05/14/2026, 6:04 PM