Marv
04/14/2025, 3:43 AMVapi Support Bot
04/14/2025, 3:44 AMMarv
04/14/2025, 3:54 AMMarv
04/14/2025, 4:29 AMVapi Support Bot
04/14/2025, 4:30 AMCheckCalendar
, but in your tools section, it's named google_calendar_check_availability_tool
. This naming mismatch could be causing the issue.
Could you try updating your prompt to use the exact tool name? For example, change:
Use the CheckCalendar tool to verify availability
to:
Use the google_calendar_check_availability_tool to verify availability
Also, I notice you're using a tool called Create_event
in your prompt. Is this tool also configured in your tools section with that exact name? If not, you'll need to update that reference as well (it might be google_calendar_tool
based on what I can partially see in your screenshot).
One more thing - could you check if the google_calendar_check_availability_tool
has specific parameter requirements? Sometimes these tools expect parameters with specific names like startDateTime
and endDateTime
(exactly as shown in your error message) rather than "Start time" and "End time".Marv
04/14/2025, 4:39 AMVapi Support Bot
04/14/2025, 4:40 AM- Use the getCurrentDateTime tool to retrieve the current date and time.
- Use the google_calendar_check_availability_tool to verify availability for the proposed date and time (assumed to be in PST).
- If the time is available, use the google_calendar_tool to schedule a 20-minute meeting with marvin@plugg.tech as the invitee.
2. Make sure your parameters are named correctly. The error message indicates that the tool is expecting parameters named startDateTime
and endDateTime
, but your received data shows "Start time" and "End time". You need to modify your prompt to ensure the assistant uses the exact parameter names expected by the tool:
Use the google_calendar_check_availability_tool to verify availability for the proposed date and time (assumed to be in PST). The summary for this will be: "Check calendar availability". The startDateTime will be the one provided by the prospect and the endDateTime will be time provided by the prospect plus 20 minutes.
3. Ensure proper date formatting. According to the information I found, you should make sure the date and time are formatted correctly. The format in your error message (2023-10-24T14:00:00-07:00
) looks correct, but you might want to explicitly instruct the assistant on how to format dates:
Format all dates and times in ISO 8601 format (YYYY-MM-DDTHH:MM:SS-07:00 for PST).
Vapi Support Bot
04/14/2025, 4:40 AMShubham Bajaj
04/14/2025, 1:14 PM