dodomin
10/20/2025, 2:41 PMVapi Support Bot
10/20/2025, 2:43 PMcalendarId in your checkAvailability tool call to ensure you're querying the correct calendar. By default, the tool checks only the primary calendar, so if your meetings are in a different calendar, they won't appear as busy slots.
Example:
json
{
"startDateTime": "2025-10-21T10:55:00",
"endDateTime": "2025-10-21T11:50:00",
"timeZone": "America/New_York",
"calendarId": "your-calendar-id"
}
Update your request with the correct calendarId and test again in the dashboard's tool testing section for accurate results.
Reference: Google Calendar Integration documentation
Source:
- [Google Calendar Integration documentation](https://docs.vapi.ai/tools/google-calendar)GIDEON
10/20/2025, 8:36 PMGIDEON
10/20/2025, 8:37 PMGIDEON
10/20/2025, 8:38 PMChiranjeet Mishra
10/21/2025, 6:55 PMHaley
10/22/2025, 3:00 PMdodomin
10/23/2025, 2:12 PMChiranjeet Mishra
10/24/2025, 6:16 PMmathes0n
11/19/2025, 9:42 PMChiranjeet Mishra
11/21/2025, 9:36 PMcheckAvailability tool expects the start and end times in UTC, so if your prompt or assistant uses local time without converting, it will treat busy times as free.
Here’s a prompt that has helped many users avoid double booking:
## scheduling appointments
ask the user what day and time they want to schedule an appointment. assume all appointments are 1 hour long and are all in PST timezone (UTC-7). once you get the desired day and time for the appointment, convert the day and time to UTC+0 timezone equivalent, then use the 'google_check' tool to check if the desired day and time is available. if it is not available, apologize then suggest a different time. if it is available, tell the user it is available and ask if they would like to schedule the appointment for this time. if they say yes, use the 'google_schedule' tool to create the event for the day and time in the UTC+0 timezone equivalent. if they say no, then tell them it's okay and you understand their decision.
Key takeaway: Always convert times to UTC before calling the tool.
If after applying this you still see the issue, please let us know — we’re happy to help troubleshoot further.