q40478
10/27/2025, 11:04 AMAI Evy
10/27/2025, 11:04 AMAI Evy
10/27/2025, 11:05 AMname field for the function name and an args field for the arguments .
I'd recommend trying an alternative parameter name (like "function_type", "operation", or "action") to avoid potential conflicts with Retell's internal structure.
If you need further clarification on reserved parameter names, check out these potentially useful sources:
- [Integrate any system with custom function]()
- [Custom Function]()
For additional support:
- Visit [Contact Sales]()
- Visit [)
Would you like me to provide a general answer based on common API design patterns?AI Evy
10/27/2025, 11:05 AMAI Evy
10/27/2025, 11:05 AMq40478
10/27/2025, 1:05 PMAI Evy
10/27/2025, 1:05 PMAI Evy
10/27/2025, 1:05 PMjson
{
"type": "object",
"properties": {
"city": {
"type": "string",
"description": "The city of the weather"
}
},
"required": [
"city"
]
}
The JSON form provides a visual interface for defining the same parameters .
Regarding your specific issue with the "function" parameter being excluded, the sources don't explicitly list restricted parameter names. However, when Retell sends requests to your custom function endpoint, the request body structure includes a name field (the function name) and an args field (the arguments) [(1) ]() [(2) ]() . This suggests "function" might conflict with Retell's internal structure.
Try using an alternative parameter name like "function_type", "operation", or "action" to avoid potential conflicts.
For additional support:
- Visit [Contact Sales]()
- Visit [)
Would you like me to provide a general answer based on common API design patterns?AI Evy
10/27/2025, 1:05 PMAI Evy
10/27/2025, 1:05 PMq40478
10/27/2025, 1:13 PMAI Evy
10/27/2025, 1:13 PMAI Evy
10/27/2025, 1:14 PMAI Evy
10/27/2025, 1:14 PM{{variable_name}} syntax [(1) ]() . You can use dynamic variables in several places within custom function configurations [(2) ]() [(1) ]() :
Where to use dynamic variables:
- Custom function URLs [(1) ]()
- Request headers (header values can include dynamic variables) [(2) ]()
- Query parameters (query parameter values can include dynamic variables)
- Tool descriptions [(1) ]()
- Property descriptions
How they're declared:
Dynamic variables are declared using double curly braces: {{variable_name}}
Using response variables from previous functions:
You can use response variables extracted from a previous custom function's API response in subsequent function calls [(2) ]() [(3) ]() . When you configure response variables in step 8 of custom function setup, you extract values from the API response and save them as dynamic variables for later use [(2) ]() . For example, if you extract a user's name from a response, you can reference it later using {{user_name}} .
According to a Discord discussion, you can use dynamic variables inside the JSON of future functions [(3) ]() . If you get clientName back from a "search_customer" function, you can use {{clientName}} inside the JSAI Evy
10/27/2025, 1:14 PMAI Evy
10/27/2025, 1:14 PMq40478
10/29/2025, 8:17 AMAI Evy
10/29/2025, 8:17 AMAI Evy
10/29/2025, 8:17 AMAI Evy
10/29/2025, 8:17 AMAI Evy
10/29/2025, 8:17 AM