Hello, I'm trying to get my assistant to have an u...
# office-hours
d
Hello, I'm trying to get my assistant to have an understanding of the current date/time and how long the call has been in progress. I have a tool registered; the assistant calls the tool when asked what the date is, and the tool returns the correct date and time (verified in the webhook logs in VAPI). But then the assistant provides the wrong time, saying it's October 2023. Here's my debug output. Does anyone see anything wrong here, or have any suggestions on how to get this info into the assistant? [2025-11-20 02:17:29.244 -0500] INFO: request completed req: { "method": "POST", "url": "/api/vapi/tools/check-time" } res: { "statusCode": 200 } responseTime: 2 DEBUG: Check time tool result: { result: { currentTime: '11/20/2025, 2:17:37 AM EST', callStartTime: '11/20/2025, 2:17:13 AM EST', duration: '24s' } }