Hi Team,
GHL Tools is an excellent feature. I was waiting for it for a long time.
I am testing it, and after wasting 2 hours, I found some errors while checking the appointment.
The current tool is sending info to GHL like this :
"{
"role": "tool_calls",
"time": 1747780763387,
"message": "",
"toolCalls": [
{
"id": "call_my_id,
"type": "function",
"function": {
"name": "get_free_slots",
"arguments": "{\n \"timeZone\": \"America/Edmonton\",\n \"startDate\": 1745095200000,\n \"endDate\": 1745181600000\n}"
}
}
],
"secondsFromStart": 48.434
}
"
--- This tool is not working because :
The GoHighLevel Check Availability tool expects the following fields:
calendarId
startDateTime
endDateTime (both as epoch time in milliseconds),
and timezone
-- the problem is tool is sending
"startDate"
endDate
instead of
startDateTime
endDateTime
-- How can I fix it?
Or can only the Vapi team fix it?