Reed
11/27/2025, 11:38 PMAI Evy
11/27/2025, 11:39 PMAI Evy
11/27/2025, 11:39 PMtool_call_id for internal tracking
- name for identifying the tool
- Call metadata, full transcript, timestamps, and other context
If your external API expects only the raw function parameters and rejects requests with additional data, you'll need to handle this through your backend server . The request should go to your backend server first, where you can extract the relevant information from Retell's payload and then make a separate request to your external API with only the data it expects .
Common troubleshooting steps if the function isn't triggering:
1. Verify your endpoint URL is correct and reachable [(3) ]()
2. Ensure "Wait for Result" is enabled if you need the function to complete before transitioning [(4) ]()
3. Confirm your agent has been published with the latest changes [(3) ]()
4. Check your server logs to see if requests are arrivingAI Evy
11/27/2025, 11:44 PMAI Evy
11/27/2025, 11:44 PMReed
11/28/2025, 1:12 AMAI Evy
11/28/2025, 1:12 AMAI Evy
11/28/2025, 1:12 AMAI Evy
11/28/2025, 1:12 AMAI Evy
11/28/2025, 1:12 AMrequired array [(1) ]() [(2) ]() . The parameter definition should follow this structure:
json
{
"type": "object",
"properties": {
"city": {
"type": "string",
"description": "The city of the weather"
}
},
"required": [
"city"
]
}
Key points to verify:
1. **HTTP Method**: Parameter definitions are only available for POST, PATCH, and PUT requests . If you're using GET or DELETE, parameters won't be sent in the request body.
2. **JSON Schema Format**: Ensure your parameter schema follows the OpenAI Function Calling format correctly . The required array should list parameter names as strings.
3. **Function Description**: The function description helps the LLM understand when to call the function and what arguments to extract from the conversation .
If your webhook is receiving metadata but missing the specific arguments despite marking them as required, double-check:
- Your HTTP method is POST, PATCH, or PUT (not GET or DELETE)
- The parameter names in your required array exactly match the property names in your schema
- Your agent has been published with the latest function configuration changes
If you're still experiencing issues after verifying these points, I'd recommend checking your server logs to see the exact payload structure Retell is sending. This will help identify whether the issue is with how the function is configured or how your webhook is parsing the incoming data.Reed
11/28/2025, 1:15 AMAI Evy
11/28/2025, 1:15 AMAI Evy
11/28/2025, 1:15 AMArguments: {}, the LLM is calling the function but not extracting the required parameters from the conversation [(1) ]() [(2) ]() .
Common causes for empty arguments:
1. Insufficient conversation context - The LLM hasn't collected the required information yet from the conversation to populate the parameters . Your function requires name, contactNumber, businessUnit, notes, and actions - if these haven't been discussed in the conversation, the LLM can't extract them [(2) ]() .
2. Missing or unclear function description - The function description needs to explicitly tell the LLM when to call the function and what information should be gathered first . For example, your prompt should include something like: "After collecting the caller's name, contact number, business unit, and call details, invoke the IT_Callback function" .
3. HTTP Method limitation - Confirm you're using POST, PATCH, or PUT as the HTTP method [(1) ]() [(2) ]() . Parameter definitions are only available for these methods, not GET or DELETE .
4. Timing issue - The function might be triggering before the agent has gathered all required information during the conversation [(2) ]() .
Recommended fixes:
- Update your agent prompt to explicitly instruct when to call this function and ensure all required fields are collected first
- Add clearer descriptions to each parameter property to help the LLM understand what to extract [(1) ](AI Evy
11/28/2025, 1:15 AMrequired array) if they're not always available during the conversation
- Test by having a conversation where you explicitly provide all the required information before the function should trigger
The parameter schema format looks correct, so the issue is likely that the LLM is calling the function before it has extracted the necessary information from the conversation .AI Evy
11/28/2025, 1:15 AMAI Evy
11/28/2025, 1:15 AM