Mr.snack
03/08/2025, 2:37 PMVapi Support Bot
03/08/2025, 2:38 PMresults
key. The correct format should be:
json
{"results": [{
"result": "Here's what's available: On March 10th, the available time slots are 9:00 AM, 10:00 AM, 11:00 AM, 12:00 PM, 1:00 PM, 2:00 PM, and 4:00 PM.",
"toolCallId": "call_WB4FKM69vcysFFtdZs7BiZGi"
}]}
2. **Content-Type Header**: Make sure your webhook response has the Content-Type
header set to application/json
. This is crucial for proper processing of the JSON payload [source](https://discord.com/channels/1211482211119796234/1211483291191083018/1327234509126165615).
3. **Recent Schema Changes**: VAPI recently updated their ToolCall
schema, replacing properties like tool
and toolBody
with function
and id
details. Make sure your implementation reflects these changes [source](https://docs.vapi.ai/changelog).
4. **Line Breaks**: If your result string contains any line breaks, ensure they're properly escaped with \\n
[source](https://discord.com/channels/1211482211119796234/1211483291191083018/1334658296291921920).
5. **Synchronous vs Asynchronous Configuration**: Check if your tool is configured as synchronous or asynchronous, as timing issues could lead to "No result returned" messages [source](https://discord.com/channels/1211482211119796234/1211483291191083018/1342336047589359618).
Hope this helps! Let me know if you need more assistance with troubleshooting. 👍
Sources:
- [Discord Channel Message](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1327234509126165615)
- [Discord Channel Message](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334658296291921920)Vapi Support Bot
03/08/2025, 2:38 PMVapi Support Bot
03/08/2025, 3:49 PMKyle
03/10/2025, 7:09 PM