liusha
04/04/2025, 2:15 AMres.status(200).json({
results: [
{
toolCallId: req.body.message.call.id,
result: 'The receiver is currently not available',
},
],
});
On the tool definition side, I guess I just need to use the tool description check if the current receiver is available for a call. The response will be a sentence like "the receiver is available now to take the call" or "the receiver is NOT available now. But it does not work.
So can someone help me understand how Vapi process the response from tool calls?