Adeen Amir
12/17/2025, 11:29 AMAI Evy
12/17/2025, 11:29 AMAI Evy
12/17/2025, 11:29 AMAI Evy
12/17/2025, 11:29 AMAI Evy
12/17/2025, 11:29 AMname, tool_id, and url are properly formatted.
3. Check the parameter schema — One common mistake is not adding "type": "object" to the top level of the JSON schema. [(2) ]()
Example of a valid parameter schema structure:
json
{
"type": "object",
"required": [
"order_id"
],
"properties": {
"name": {
"type": "object",
"description": "",
"properties": {
"first_name": {
"type": "string",
"description": "User first name"
}
}
}
}
}
If you're using the Retell SDK, your IDE should point out schema mismatches. [(1) ]()
If the issue persists, could you share your function JSON (without secrets) so we can help pinpoint the specific error?Adeen Amir
12/17/2025, 11:31 AMAI Evy
12/17/2025, 11:31 AMAI Evy
12/17/2025, 11:31 AM"type": "object" to the top level of the JSON schema. [(1) ]()
2. Try using an example as a starting point — The documentation recommends clicking one of the examples in the UI and updating accordingly.
For the parameter schema, ensure it follows this structure:
json
{
"type": "object",
"required": [
"order_id"
],
"properties": {
"name": {
"type": "object",
"description": "",
"properties": {
"first_name": {
"type": "string",
"description": "User first name"
}
}
},
"order_id": {
"type": "number",
"const": 1234
}
}
}
A similar issue was reported by another user who couldn't create custom functions — they mentioned it appeared to be a bug in the system that was eventually resolved. [(2) ]()
If the error persists after verifying your JSON schema, this may be a platform issue. You can reach out via [Contact Sales]() or check the [Retell AI GitHub]() for additional support.AI Evy
12/17/2025, 11:31 AMAI Evy
12/17/2025, 11:31 AMAdeen Amir
12/17/2025, 11:36 AMAdeen Amir
12/17/2025, 12:09 PMAI Evy
12/17/2025, 12:09 PMAI Evy
12/17/2025, 12:09 PM"type": "object" at the top level, includes required and properties, which matches the expected format. [(1) ]()
However, there are a couple of things to note:
1. Sensitive credentials in descriptions — You're embedding dynamic variables like {{account_sid}} and {{auth_token}} in the description fields. If you want these to be passed as constant values (not resolved by the LLM) , you should use "const" instead of "description". , [(2) ]()
Example using const:
json
"account_sid": {
"type": "string",
"const": "{{account_sid}}"
}
The description field is resolved by the LLM, while const values are applied directly to the function. [(1) ]() , [(2) ]()
2. The "tool id does not exist" error — This error is separate from schema validation. It suggests the function's tool_id reference may be broken or the function wasn't saved properly initially. Try:
- Deleting the problematic function and creating a new one from scratch
- Starting from one of the built-in examples in the UI and modifying it [(1) ]()
If the error persists after recreating the function, this may be a platform issue requiring support assistance.AI Evy
12/17/2025, 12:09 PMAI Evy
12/17/2025, 12:09 PMAI Evy
12/17/2025, 12:12 PMAdeen Amir
12/17/2025, 12:13 PMAI Evy
12/17/2025, 12:13 PMAI Evy
12/17/2025, 12:13 PMAI Evy
12/17/2025, 12:13 PMtool_id reference, this can cause unexpected behavior where the system fails to properly remove the node.
Recommended next steps:
1. Try deleting the function itself first (not just the node) — Go to your functions list and attempt to remove the function there before deleting the node from the flow.
2. Check if the function is part of a shared component — A similar issue was reported where a user couldn't modify values in a shared component, and it required support intervention to resolve. [(2) ]()
3. Contact support directly — Since you've already verified your schema is correct and the issue persists, this appears to be a bug that requires platform-level assistance.
You can reach out via:
- [Contact Sales]()
- [Retell AI GitHub]()
Would you like me to try providing a general workaround, or do you have additional details about the error message?AI Evy
12/17/2025, 12:19 PMAdeen Amir
12/17/2025, 12:19 PMAI Evy
12/17/2025, 12:19 PMAI Evy
12/17/2025, 12:19 PMtool_id references or corrupted function nodes. [(1) ]()
Your best options at this point:
1. Create a new conversation flow — If feasible, you could recreate your flow from scratch in a new agent, copying over the working nodes and functions.
2. Contact Retell support directly — This type of persistent error where nodes reappear after deletion and functions cannot be removed typically requires backend assistance.
You can reach out via:
- [Contact Sales]()
- [Retell AI GitHub]()
I don't have information in the sources about additional troubleshooting steps for this specific scenario. Would you like a general answer based on my knowledge, or do you have any other details about the error that might help?AI Evy
12/17/2025, 12:19 PM