This is the problem.
From Vapi's Call Log Details - Messages
{
"role": "tool_calls",
"time": 1746039521349,
"message": "",
"toolCalls": [
{
"id": "call_VT1VEgSJDQS1bA4AwekQSt6M",
"type": "function",
"function": {
"name": "In_CheckAvailability",
"arguments": "{\n \"date\": \"2025-05-01\",\n \"time\": \"14:00\",\n \"location\": \"Phoenix, Arizona\"\n}"
}
}
],
"secondsFromStart": 103.011
}
That's the original call. After the Google Call Free/Busy module we hit a router for "available" or "busy" and they go to their respective Webhook Response modules. Here is the JSON in the response module.
{
"toolCallId": "{{1.message.toolCalls[].id}}",
"function": {
"name": "In_CheckAvailability",
"result": {
"startDateTime": "{{59.timeMin}}",
"endDateTime": "{{59.timeMax}}",
"timeZone": "America/Phoenix"
}
},
"type": "function"
}
And here's a screenshot of the Webhook Response
I can't figure what's wrong.
https://cdn.discordapp.com/attachments/1367208801714966588/1367221766870663381/image.png?ex=6813cbfe&is=68127a7e&hm=fff6aed3b3061fd0a0a08f101ed1b1b273313aeba8150a81453244ced496a335&