Issue on function tool calling
I have been created my custom server to handle some of the functions like mail triggering & incoming-phone call detecting
- Incoming phone call detecting: I am trigger the server call to my server while user connected to the call & at the time I am taking the incoming call number & store in it db with of call id. Then I write one function call to get the incoming call by the agent - Attached the tool to the agent. Issue facing here is : Sometime the tool is invoked / most of the time not invoked as expected ( even I mentioned the name in the prompt too ). At the time of invokation too the agent is not getting the response object even though my server is successfully respond 200 with number object.
- Most of my function tool call is not working as expected - mainly the agent getting fails to invoke the tool when it is needed. Mail trigger tool is invoking I have give the accepted parameter as message, toEmail, subject but it give something like this one below
toolWithToolCallList: [
{
type: 'function',
function: [Object],
async: false,
server: [Object],
messages: [],
toolCall: [Object]
}
],
artifact: {
messages: [
[Object], [Object], [Object],
[Object], [Object], [Object],
],
},
even I have mentioned it one too in prompt. but not passing it correctly.
Note: We are exploring this product since this monday - we have gone through your complete documentation. but there are lot of issues in the application. We are litterally figuring out so frustated to configure all those stuffs - even after configuration not working as expected. $40 is burn out without even giving poc to our client. @Vapi Team Please figure out this issue.