In custom tools, retell sends the following details to the custom fucntion url in JSON :
{
"call": {
"call_id": "Jabr9TXYYJHfvl6Syypi88rdAHYHmcq6",
"agent_id": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD",
"audio_websocket_protocol": "twilio",
"audio_encoding": "s16le",
"sample_rate": 24000,
"call_status": "registered",
"start_timestamp": 1703302407333,
"end_call_after_silence_ms": 600000,
"from_number": 12137771234,
"to_number": 12137771235,
"metadata": {},
"retell_llm_dynamic_variables": {
"customer_name": "John Doe"
}
},