danielgarcia_85844
07/30/2025, 11:42 PMAI Evy
07/30/2025, 11:42 PMAI Evy
07/30/2025, 11:42 PMjavascript
import Retell from 'retell-sdk';
const client = new Retell({
apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const phoneCallResponse = await client.call.registerPhoneCall({
agent_id: 'oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD',
}) ;
console.log(phoneCallResponse.agent_id) ;
And you can pass dynamic variables to customize the agent's behavior for specific calls [(2) ]() :
javascript
{
"user_name": "John Smith",
"product_name": "Premium Plan",
"account_status": "active"
}
However, the specific details about creating agents with custom tool calling programmatically aren't covered in these sources.
Check out these potentially useful resources:
- [Contact Sales]()
- [)
Would you like a general answer based on my knowledge instead?AI Evy
07/30/2025, 11:42 PMAI Evy
07/30/2025, 11:42 PM