smellygrandpa123
10/29/2025, 5:09 PMAI Evy
10/29/2025, 5:09 PMAI Evy
10/29/2025, 5:09 PMAI Evy
10/29/2025, 5:09 PMAI Evy
10/29/2025, 5:09 PMsmellygrandpa123
10/29/2025, 5:10 PMsmellygrandpa123
10/29/2025, 5:10 PMAI Evy
10/29/2025, 5:10 PMAI Evy
10/29/2025, 5:10 PM"type": "object" at the top level of the JSON schema [(1) ]() [(2) ]() .
For example, a valid parameter schema should look like this:
json
{
"type": "object",
"properties": {
"city": {
"type": "string",
"description": "The city of the weather"
}
},
"required": [
"city"
]
}
[(1) ]()
If you're still having trouble after checking this, please share the error message and I can provide more specific guidance.AI Evy
10/29/2025, 5:10 PMAI Evy
10/29/2025, 5:10 PMAI Evy
10/29/2025, 5:12 PMsmellygrandpa123
10/29/2025, 5:12 PMAI Evy
10/29/2025, 5:12 PMresponse_engine section [(2) ]() [(3) ]()
Please attach or paste the JSON file and error message so I can help you resolve this.AI Evy
10/29/2025, 5:12 PMAI Evy
10/29/2025, 5:12 PMsmellygrandpa123
10/29/2025, 5:13 PMsmellygrandpa123
10/29/2025, 5:13 PMAI Evy
10/29/2025, 5:13 PMAI Evy
10/29/2025, 5:14 PMtype property that doesn't exist in the expected location [(1) ]() .
Based on a similar community report, when importing agent configurations, the most common issue involves tool parameters not being properly formatted as objects . The error message "Error in tool Wait: Parameters must be object" was resolved by reviewing the JSON file and ensuring all tool sections had their settings written in the correct format .
To troubleshoot your specific error, I need to see the actual JSON content. Please share the full JSON file or at least the sections containing:
1. The model_choice object - which should have a type field [(2) ]()
2. Any nodes array - where each node should have a type field
3. Any tools or function definitions - where parameters should be objects
Expected structure for a Conversation Flow agent includes:
- start_speaker (either "user" or "agent")
- model_choice with a type field (e.g., "cascading")
- nodes array where each node has an id, type, and instruction
- If using tools, each tool should have a type field
The error suggests that somewhere in your JSON, there's a missing or incorrectly nested type property. Once you share the JSON content, I can identify the exact location of the structural issue.
**AI Evy
10/29/2025, 5:14 PMAI Evy
10/29/2025, 5:14 PMsmellygrandpa123
10/29/2025, 5:17 PMAI Evy
10/29/2025, 5:17 PMAI Evy
10/29/2025, 5:17 PM"type": "message" should be "type": "conversation" [(3) ]() [(1) ]()
- "message" field should be inside "instruction" object with "type": "prompt" or "type": "static" [(3) ]()
- "transitions" should be "edges" with "transition_condition" and "destination_node_id" [(1) ]()
- Missing required "start_speaker" and "model_choice" at the root level
I recommend creating your agent through the Retell AI Dashboard first, then exporting it to see the correct JSON structure. The Dashboard provides templates that follow the proper schema [(4) ]() .AI Evy
10/29/2025, 5:17 PM"entry_node", "transitions", "message", and "form" that aren't part of Retell AI's Conversation Flow structure [(1) ]() [(2) ]() .
Required structure for Retell AI Conversation Flow:
Your JSON needs these key fields :
1. start_speaker - Either "user" or "agent" [(1) ]()
2. model_choice - Object with type and model fields
3. nodes - Array where each node must have :
- id (string)
- type (valid types: "conversation", "function", "logic", etc.) [(3) ]()
- instruction (object with type and content)
- edges (array for transitions between nodes) [(1) ]()
Here's the correct format:
json
{
"start_speaker": "agent",
"model_choice": {
"type": "cascading",
"model": "gpt-4o"
},
"nodes": [
{
"id": "welcome",
"type": "conversation",
"instruction": {
"type": "prompt",
"text": "Greet the customer and ask how you can help them."
},
"edges": [
{
"id": "edge_1",
"transition_condition": {
"type": "prompt",
"prompt": "Customer wants to book appointment"
},
"destination_node_id": "booking"
}
]
}
]
}AI Evy
10/29/2025, 5:17 PMAI Evy
10/29/2025, 5:17 PMsmellygrandpa123
10/29/2025, 5:22 PMAI Evy
10/29/2025, 5:22 PMAI Evy
10/29/2025, 5:23 PMstart_speaker - Must be either "user" or "agent" [(1) ]()
- model_choice - Object containing type and model fields
- nodes - Array of node objects
Each node must have:
- id - Unique string identifier
- type - Valid node type (e.g., "conversation", "function", "logic") [(1) ]() [(3) ]()
- instruction - Object with type field (either "prompt" or "static_text") [(1) ]()
- edges - Array defining transitions to other nodes (optional for some nodes)
Edge structure (if present) :
- id - Unique edge identifier
- transition_condition - Object with type and condition details
- destination_node_id - Target node ID
Example of correct structure:AI Evy
10/29/2025, 5:23 PMjson
{
"start_speaker": "agent",
"model_choice": {
"type": "cascading",
"model": "gpt-4o"
},
"nodes": [
{
"id": "start",
"type": "conversation",
"instruction": {
"type": "prompt",
"text": "Greet the customer and ask how you can help them."
},
"edges": [
{
"id": "edge_1",
"transition_condition": {
"type": "prompt",
"prompt": "Customer wants to book appointment"
},
"destination_node_id": "book_appointment"
}
]
}
]
}
Please share your updated JSON file so I can verify it matches this structure exactly.AI Evy
10/29/2025, 5:23 PMAI Evy
10/29/2025, 5:23 PMsmellygrandpa123
10/29/2025, 5:23 PMAI Evy
10/29/2025, 5:23 PMAI Evy
10/29/2025, 5:24 PMstart_speaker - Must be "user" or "agent" [(1) ]()
- model_choice - Object with type and model fields [(1) ]() [(2) ]()
- nodes - Array of node objects
Each node requires:
- id - Unique string identifier
- type - Valid node type (e.g., "conversation", "function", "logic")
- instruction - Object containing a type field
- edges - Array for transitions (when applicable)
Edge structure (when present) :
- id - Unique edge identifier
- transition_condition - Object with type and condition details
- destination_node_id - Target node ID
Please paste or attach your updated JSON file so I can verify:
1. All required fields are present
2. The structure matches Retell AI's schema exactly
3. Node types and instruction formats are correct
4. Edge transitions are properly formatted
Without seeing the actual file, I cannot confirm whether it follows all guidelines.AI Evy
10/29/2025, 5:24 PMAI Evy
10/29/2025, 5:24 PMAI Evy
10/29/2025, 5:24 PMAI Evy
10/29/2025, 5:24 PMstart_speaker (must be "user" or "agent")
- model_choice (with type and model fields)
- nodes (array of node objects)
2. Each node has the correct structure [(1) ]() [(3) ]() :
- id (unique identifier)
- type (valid types like "conversation")
- instruction (with type field - either "prompt" or "static")
- edges (for transitions, when applicable)
3. Edges are properly formatted [(1) ]() :
- id
- transition_condition (with type and condition details)
- destination_node_id
Without seeing the actual JSON content, I cannot confirm whether your file follows all Retell AI guidelines. Please share the file so I can provide specific validation feedback.
**AI Evy
10/29/2025, 5:25 PMAI Evy
10/29/2025, 5:25 PMAI Evy
10/29/2025, 5:28 PMAI Evy
10/29/2025, 5:28 PMstart_speaker (must be "user" or "agent")
- model_choice (requires type and model)
- nodes (array of node objects)
2. Node structure [(1) ]() [(3) ]() :
- Each node needs id, type, instruction, and edges (when applicable)
- instruction must have a type field ("prompt" or "static")
3. Edge formatting [(1) ]() :
- Each edge needs id, transition_condition, and destination_node_id
Without seeing your JSON, I can't confirm whether it follows Retell AI's guidelines. Please share the file content so I can provide specific validation.AI Evy
10/29/2025, 5:28 PMAI Evy
10/29/2025, 5:28 PMsmellygrandpa123
10/29/2025, 5:29 PMAI Evy
10/29/2025, 5:29 PMAI Evy
10/29/2025, 5:29 PMjson
{
"start_speaker": "agent",
"model_choice": {
"type": "cascading",
"model": "gpt-4o"
},
"nodes": [
{
"id": "start",
"type": "conversation",
"instruction": {
"type": "prompt",
"text": "Greet the customer and ask how you can help them."
},
"edges": [
{
"id": "edge_1",
"transition_condition": {
"type": "prompt",
"prompt": "Customer wants to book appointment"
},
"destination_node_id": "book_appointment"
}
]
}
]
}AI Evy
10/29/2025, 5:29 PMtype property:
- model_choice requires a type field [(1) ]() [(2) ]()
- Each node requires a type field
- Each instruction requires a type field (either "prompt" or "static") [(1) ]()
- Each transition_condition requires a type field [(3) ]()
Next steps:
Since your error persists even with minimal examples, I recommend:
1. Create a simple agent through the Dashboard UI first, then export it to see the exact JSON format your workspace expects
2. Contact Retell AI support to confirm JSON import is enabled for Conversation Flow agents in your workspace
Visit [Contact Sales]() or [) for direct assistance with workspace-specific features.
The documentation I have access to covers API-based creation extensively, but doesn't detail Dashboard import requirements or workspace-level feature flags that might affect JSON import functionality.AI Evy
10/29/2025, 5:29 PMAI Evy
10/29/2025, 5:29 PMsmellygrandpa123
10/29/2025, 5:31 PMAI Evy
10/29/2025, 5:31 PMAI Evy
10/29/2025, 5:31 PMAI Evy
10/29/2025, 5:31 PMAI Evy
10/29/2025, 5:31 PM