- endCall tool is not working. Is there something ...
# general-english
t
- endCall tool is not working. Is there something wrong with my code? I added in the prompt to end the call when either the agent or the caller say's goodbye. Also, added in the prompt to run the endCall function or the end_call_tool function after saying goodbye, - Tool is enabled in predefined section. - Tool is also enabled in Tools section. Any advice?? { "type": "endCall", "function": { "name": "end_call_tool", "strict": false, "description": "#Keywords to run the endCall function (including the agent or assistant)\ngoodbye\ntake care\n", "parameters": { "type": "object", "properties": {}, "required": [] } }, "messages": [ { "role": "assistant", "type": "request-complete", "content": "Have a good day", "endCallAfterSpokenEnabled": false } ], "orgId": "Input in the backend", "async": true }
4 Views