fascinating-indigo
fascinating-indigo5w ago

Tool call problem

My tool call (custom getAvailability and setMeeting) which gets sent to my server URL is coming back a success to the agent without finishing the workflow and the agent is giving back a success before Make.com even follows its workflow, can I get some help? This didn't happen before and also when I use the pre-built in tools the agent actually checks the schedule, but not with my custom tool.
No description
4 Replies
Vapi
Vapi5w ago
Hi there, Thank you for your message. Our team is currently out of the office. We operate Monday through Friday, from 9:00 AM to 8:00 PM Pacific Standard Time (PST). We’ll get back to you as soon as possible during our normal business hours. If your message is urgent, please mark it accordingly or include “URGENT” in the subject line, and we’ll do our best to respond promptly. Warm regards,
Vapi
Customer Support Team
Vapi Support Bot
Your custom tool is likely returning a success before your Make.com workflow finishes because it's set to async. To fix this, set "async": false in your tool configuration and ensure your webhook only returns a response after Make.com completes. Here’s a sample config:
{
"name": "getAvailability",
"async": false
}
{
"name": "getAvailability",
"async": false
}
Wait for your workflow to finish, then return the result in the required JSON format with HTTP 200. Source: - Custom tools troubleshooting
⤵️ Mention @Vapi Support Bot for follow-ups 🐥
Duckie
Duckie5w ago
Message marked as helpful by @versin! 🎉 Message marked as helpful by @versin! 🎉
Vapi
Vapi4w ago
Hi versin, If you have a question about tool call errors or any other topic, feel free to share more details. I'm here to help.

Did you find this page helpful?