summerpuppet471
11/24/2025, 2:35 PMAI Evy
11/24/2025, 2:35 PMAI Evy
11/24/2025, 2:35 PM{{variable_name}} in the description field of your parameter schema. For example, if you have a dynamic variable called treatment_id, your parameter description should be: "Use this as the treatment id: {{treatment_id}}"
The custom function will receive parameters in the request body under the args field as a JSON object. [(2) ]() [(3) ]() When Retell sends the POST request to your endpoint, it includes:
- `name`: the name of the custom function
- `call`: the call object for context
- `args`: the arguments for the custom function, as a JSON object
Make sure you're also verifying that the dynamic variables are being extracted successfully before the custom function is called - you can check this in your call logs. [(1) ]()
If you're still experiencing issues after updating your parameter descriptions with the {{variable_name}} syntax, ensure the extraction is happening consistently for each call.AI Evy
11/24/2025, 2:35 PMAI Evy
11/24/2025, 2:35 PM