### Answer
Based on the available sources, the most common reasons your instruction might not trigger the end_call function are:
1. The agent will not end the call automatically unless you explicitly configure the end_call tool and clearly define termination conditions in both the tools section and the agent prompt [(1) ](
) . If your prompt only describes the logic but the end_call tool is not properly added/configured, the agent won’t trigger the function.
2. The prompt must contain direct, unambiguous instructions, such as: “If the user says ‘thank you’, ‘goodbye’, or ‘bye’, use the end_call tool to terminate the conversation.” General instructions or relying on the agent to infer intent may not be sufficient [(1) ](
) [(2) ](
) .
3. The LLM must actually select the end_call tool and output the function call payload (e.g., end_call: true) . If the model only generates text but does not actually trigger the tool, the call will not end as expected [(3) ](
) [(2) ](
) .
4. If using function calling, ensure the function signature and arguments match what the LLM expects and that the tool is properly registered for the conversation .
5. If you use a conversation flow builder, you need an explicit End Node or node transition to trigger call hangup. Otherwise, the agent may just continue the conversation or wait for silence timers [(1) ](
) [(2) ](
) .
Testing in simulation and reviewing logs can help confirm whether the end_cal