Thevin11
03/30/2025, 2:48 AMVapi Support Bot
03/30/2025, 2:49 AMThe current date is {{"now" | date: "%A, %B %d, %Y", "America/New_York"}} and the time is {{"now" | date: "%I:%M %p", "America/New_York"}}
2. Use separate variables for date, time, and day in your prompt [source](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1341751641547870281):
Current date: {{ "now" | date: "%B %d, %Y", "YourTimezone"}}
Current time: {{ "now" | date: "%I:%M %p", "YourTimezone"}}
Day of the week: {{ "now" | date: "%A", "YourTimezone"}}
3. Check your date format to ensure it's compatible with Vapi's expected input. The format YYYY-MM-DDTHH:MM:SS+HH:MM
is used in some Vapi responses [source](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1330221332452999321).Vapi Support Bot
03/30/2025, 2:49 AMThevin11
03/30/2025, 3:29 AMThevin11
03/30/2025, 3:35 AMAditya
03/30/2025, 10:47 AMThevin11
03/31/2025, 3:04 AMThevin11
03/31/2025, 3:06 AMThevin11
03/31/2025, 9:08 AMAditya
03/31/2025, 2:12 PMtool name: _checkAvailability
response: Accepted
Hey Thevin,
You are returning a response name'response' value as accepted instead of you need to return the response in the required format which needs the tool call id as well as the result. The result is supposed to be a string type without any line breaks or new lines.
I am dropping the documentation link below which guides you exactly how you are expected to return the result for the tool call.
Thevin11
03/31/2025, 3:08 PMAditya
03/31/2025, 3:40 PM