https://retellai.com/?utm_source=discord&utm_medium=seo logo
could you send the required JSON parameters to imp...
# ❓・ai-evy-support
e
@AI Evy could you send the required JSON parameters to import agent?
a
Thanks for tagging me @emmanueloquendo.. I'll look through relevant sources and get back to you shortly.
### Answer I don't have the specific JSON schema for importing agents in the available sources [(1) ]() [(2) ]() . The documentation shows the Create Agent API structure [(3) ]() , but doesn't include the specific import schema [(2) ]() . From Discord discussions, there have been common issues with agent imports where users received 400 errors due to JSON configuration problems . The most frequent issue mentioned was that in custom functions,
headers
,
query_params
, and
response
variables should be objects
{}
rather than empty arrays
[]
. For the agent structure reference, you can use the Create Agent API format [(3) ]() :
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const agentResponse = await client.agent.create({
 response_engine: { llm_id: 'llm_234sdertfsdsfsdf', type: 'retell-llm' },
 voice_id: '11labs-Adrian',
}) ;
console.log(agentResponse.agent_id) ;
The dashboard agent import dialog mentions "Only Retell Agent format files are supported", but this format isn't documented [(1) ]() . One suggestion from the community is to export an existing agent to see the JSON format . Since I don't have the exact import schema in the available sources, I'd recommend: 1. Visit [Contact Sales]() 2. Visit [) Would you like a general answer based on my knowledge instead?
​ To learn more, see the sources I considered: [[1] Conversation/agent JSON file format](https://discord.com/channels/1186424376300679209/1399111940982177962) [[2] Discord message from @katecardenas_67927 on 2025-08-14](https://discord.com/channels/1186424376300679209/1186462578310910112/1405627099590557747) [[3] Create Agent](https://docs.retellai.com/api-references/create-agent) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
e
what's the right JSON structure to use the transfer tool?
a
Thanks for the follow-up, @emmanueloquendo.. I'll get back to you soon.
### Answer The JSON structure for the transfer tool depends on how you're implementing it [(1) ]() [(2) ]() [(3) ]() . For general_tools in your LLM configuration, use this structure [(3) ]() :
Copy code
json
"general_tools": [
  {
    "name": "transfer_call_2",
    "description": "When user is angry or requests a human agent, transfer the call to a human.",
    "number": "+14154154155",
    "type": "transfer_call"
  }
]
For state-specific tools with more advanced configuration, the structure includes transfer destination and options [(2) ]() :
Copy code
json
"tools": [
  {
    "type": "transfer_call",
    "name": "transfer_to_support",
    "description": "Transfer to the support team.",
    "transfer_destination": {
      "type": "predefined",
      "number": "16175551212"
    },
    "transfer_option": {
      "type": "cold_transfer",
      "show_transferee_as_caller": false
    }
  }
]
The transfer tool supports both cold and warm transfer types [(1) ]() . For cold transfers, you can configure whether the transfer destination sees the Retell agent's number or the transferee's number . For warm transfers, additional settings like on-hold music, human detection, and whisper messages are available . Note that call transfer only works during phone calls, not web calls .
​ To learn more, see the sources I considered: [[1] Transfer call](https://docs.retellai.com/build/single-multi-prompt/transfer-call) [[2] Update Retell LLM](https://docs.retellai.com/api-references/update-retell-llm) [[3] call_transfer json structure](https://discord.com/channels/1186424376300679209/1281691102771941478) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
e
@AI Evy what is wrong in my JSON warm transfer to be imported?
a
Thanks for the follow-up, @emmanueloquendo.. I'll get back to you soon.
### Answer I need to see your JSON structure to identify the specific issue, but I can help you understand the correct format for warm transfer configuration in Retell AI. Based on the documentation, when configuring warm transfers, you need to choose Warm Transfer in the "Transfer to" field [(1) ]() . The system provides several configuration options for warm transfers [(2) ]() : - **On-hold music**: The audio played to the caller while they are on hold (default is a standard ringtone) - **Enable human detection**: When enabled, the agent will check if a human is present after the transfer target answers - **Auto-greet**: If enabled, the agent will immediately say "Hello" when the transfer target picks up - **Agent detection timeout**: The maximum amount of time the AI agent will wait to determine whether the transfer target is a human (default timeout is 30 seconds) - **Whisper message (optional) **: A message spoken privately to the transfer target before connecting them to the original caller - **Three-way message (optional) **: A message spoken to both the transfer target and the original caller once the connection is established The warm transfer feature automatically shares all relevant customer information with the next agent, eliminating manual notes and missed details [(1) ]() . Without seeing your specific JSON structure, I can't identify the exact issue. Could you share your JSON configuration so I can help pinpoint what might be causing the import problem?
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
​ To learn more, see the sources I considered: [[1] Warm Transfer: Effortless Call Handoffs | Retell AI](https://www.retellai.com/blog/effortless-handoffs-with-retell-ais-warm-transfer-feature) [[2] Transfer call](https://docs.retellai.com/build/single-multi-prompt/transfer-call) ​
a
Thanks for the follow-up, @emmanueloquendo.. I'll get back to you soon.
### Answer I don't see your JSON structure in the message. Could you please share the specific JSON configuration you're trying to import so I can help identify the issue? Based on the available documentation, for warm transfer configuration in Conversation Flow, the Call Transfer Node should be set up with the transfer type configured as warm transfer [(1) ]() . The warm transfer settings include options for on-hold music, human detection, auto-greet, agent detection timeout, whisper message, and three-way message . When configuring warm transfers, you need to: 1. Set the transfer destination to either a number in e.164 format or a SIP URI in the format
sip:username@domain
2. Choose Warm transfer as the transfer type 3. Configure the warm transfer settings like whisper message and three-way message Without seeing your specific JSON structure, I can't pinpoint the exact issue. Please share your JSON configuration and I'll be able to help identify what might be causing the import problem.
​ To learn more, see the sources I considered: [[1] Call Transfer Node](https://docs.retellai.com/build/conversation-flow/call-transfer-node) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
a
Thanks for the follow-up, @emmanueloquendo.. I'll get back to you soon.
### Answer I don't see your JSON structure in the message. Could you please share the specific JSON configuration you're trying to import? Based on the documentation, here's the correct JSON structure for warm transfer tools [(1) ]() :
Copy code
json
"general_tools": [
  {
    "name": "transfer_call_2",
    "description": "When user is angry or requests a human agent, transfer the call to a human.",
    "number": "+14154154155",
    "type": "transfer_call"
  }
]
For more advanced warm transfer configuration with state-specific tools, you can use this structure [(2) ]() :
Copy code
json
"tools": [
  {
    "type": "transfer_call",
    "name": "transfer_to_support",
    "description": "Transfer to the support team.",
    "transfer_destination": {
      "type": "predefined",
      "number": "16175551212"
    },
    "transfer_option": {
      "type": "warm_transfer"
    }
  }
]
For warm transfers, you can configure additional settings like on-hold music, human detection, auto-greet, agent detection timeout, whisper message, and three-way message [(3) ]() [(2) ]() . Without seeing your specific JSON, common issues include incorrect number formatting (should be in e.164 format) or missing required fields. Please share your JSON configuration so I can help identify the specific issue.
​ To learn more, see the sources I considered: [[1] call_transfer json structure](https://discord.com/channels/1186424376300679209/1281691102771941478) [[2] Transfer call](https://docs.retellai.com/build/single-multi-prompt/transfer-call) [[3] Call Transfer Node](https://docs.retellai.com/build/conversation-flow/call-transfer-node) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.