Hugo
03/13/2025, 9:37 AMVapi Support Bot
03/13/2025, 9:38 AMtoolCallId
should match the ID received in the original tool call request from Vapi (like "call_lHZzsNi9vjMGtIdVZ8KUIIa2"), and the result
should contain your actual response data.
2. **Result Formatting**: Ensure your result
is a single line string without any line breaks, as these can cause parsing issues.
3. **Synchronous Tool Calls**: Vapi might be treating the call as failed without waiting for the complete timeout period, especially if your tool is set to synchronous.
4. **Network/Server Issues**: Check that your server is properly responding with a 200 status code.
Here's an example of a correctly formatted response:
json
{
"results": [
{
"toolCallId": "call_lHZzsNi9vjMGtIdVZ8KUIIa2",
"result": "The following timeslots are available: 2025-01-14T15:30:00-05:00, 2025-01-14T17:00:00-05:00"
}
]
}
Let me know if replacing the placeholders resolves your issue! 🛠️
Sources:
- [Common reasons for "No result returned" message](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1342336047589359618)
- [Correct JSON format for tool call results](https://docs.vapi.ai/tools-calling)
- [Vapi tool call response handling](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1342176467714572400)Dani151515151515
03/13/2025, 10:08 AMKings Big
03/14/2025, 2:50 AMHugo
03/16/2025, 10:26 AMKings Big
03/16/2025, 6:26 PM