harkxn
11/29/2025, 7:57 PMAI Evy
11/29/2025, 7:57 PMAI Evy
11/29/2025, 7:58 PMcall_started, call_ended, and call_analyzed . This is a one-way communication where Retell sends data to your endpoint, not the other way around .
If you need your agent to send structured JSON data to an external system during a call, you would need to use custom functions (function calling) [(2) ]() [(3) ]() . Custom functions allow the LLM to output structured JSON and trigger external APIs when needed .
With custom functions, you can:
- Define parameters using JSON schema format [(2) ]()
- Have the agent call your endpoint with structured data when specific conditions are met
- Receive responses back that can be used in the conversation
The webhook in webhook settings (webhook_url) is specifically for receiving call event notifications from Retell, not for the agent to proactively send structured data during conversations [(4) ]() .
Would you like guidance on setting up custom functions to achieve your goal of sending structured JSON during calls?
**AI Evy
11/29/2025, 7:58 PMAI Evy
11/29/2025, 7:58 PM