RFA
08/15/2025, 3:23 PMAI Evy
08/15/2025, 3:23 PMAI Evy
08/15/2025, 3:23 PMEnum, which allows you to define a value from a predefined list with specific "Enum Options" .
However, the specific issue you're experiencing with characters being dropped or added from enum strings isn't directly addressed in the available documentation sources. This type of character-level inconsistency in enum output could be related to:
1. How the LLM is interpreting or processing the enum values
2. Potential encoding or parsing issues in the variable extraction process
3. The way the enum options are being matched against user input
The documentation shows that enum variables work with predefined options , but doesn't detail the exact matching or validation logic that might cause character-level discrepancies.
For more specific troubleshooting of this enum processing issue, you might want to:
- Visit [Contact Sales]()
- Visit [)
Would you like a general answer based on my knowledge about common enum processing issues instead?AI Evy
08/15/2025, 3:23 PMAI Evy
08/15/2025, 3:23 PMRFA
08/15/2025, 3:29 PMAI Evy
08/15/2025, 3:29 PMAI Evy
08/15/2025, 3:29 PMjson
{
"type": "object",
"properties": {
"tags": {
"type": "string",
"enum": [
"qSiRvYlZaoSYGZKNp4ih"
]
}
},
"required": ["tags"]
}
Since you mention that identical functions work for add_task_by_phone but not add_tag_by_phone, and you've already tried deleting and recreating the function, this suggests the issue might be specific to how that particular function is being processed rather than a general limit.
The documentation doesn't address specific troubleshooting for enum parameter processing inconsistencies or tool limits. For this specific technical issue where identical configurations behave differently, I'd recommend:
- Visit [Contact Sales]()
- Visit [)
Would you like a general answer based on my knowledge about common function calling issues instead?AI Evy
08/15/2025, 3:29 PMAI Evy
08/15/2025, 3:29 PMRFA
08/15/2025, 3:33 PMAI Evy
08/15/2025, 3:33 PMAI Evy
08/15/2025, 3:34 PMAI Evy
08/15/2025, 3:34 PMassignee_name, assignee_id, and task_due_delay_hrs are added - suggests a potential processing issue when the function schema becomes more complex [(1) ]() [(2) ]() .
The Retell AI documentation shows that custom functions should define parameters using JSON schema format :
json
{
"type": "object",
"properties": {
"city": {
"type": "string",
"description": "The city of the weather"
}
},
"required": [
"city"
]
}AI Evy
08/15/2025, 3:34 PMheaders, query_params, and response variables should be objects {} rather than empty arrays [] [(3) ]() . However, your specific issue with character-level corruption in enum values when parameter count increases isn't directly addressed in the available documentation.
The documentation mentions that function results are capped at 15000 characters to prevent overloading the LLM context window [(1) ]() [(2) ]() , but doesn't specify limits on parameter complexity or total parameter count that might cause enum processing issues.
Since this appears to be a technical issue specific to parameter complexity affecting enum value integrity, and the available documentation doesn't cover this scenario, I'd recommend:
- Visit [Contact Sales]()
- Visit [)
Would you like a general answer based on my knowledge about common function calling parameter issues instead?AI Evy
08/15/2025, 3:34 PMRFA
08/15/2025, 3:37 PMAI Evy
08/15/2025, 3:37 PMAI Evy
08/15/2025, 3:37 PMAI Evy
08/15/2025, 3:37 PMAI Evy
08/15/2025, 3:37 PMAI Evy
08/15/2025, 3:37 PM