Tool call doesn't collect any information and isn't triggering...

It should be sending this info to a webhook and I know the info is discussed within the call. In the call logs under analysis it says N/A under data

Using Gemeni 2.0 flash for context and the transfer tool call but this one is a function that isnt working.

Here is the code for the tool config

{ "id": "950b43e0-ef86-44a1-9da9-a45e93a246e4", "createdAt": "2025-05-02T15:43:19.348Z", "updatedAt": "2025-05-05T13:41:01.371Z", "type": "function", "function": { "name": "logLeadToCRM", "strict": false, "description": "Log a qualified lead to CRM", "parameters": { "type": "object", "properties": { "name": { "description": "The name of the caller", "type": "string" }, "email": { "description": "The email of the caller", "type": "string" }, "phone": { "description": "the phone number of the caller", "type": "string" }, "address": { "description": "the address of the caller", "type": "string" }, "isHomeowner": { "description": "Whether or not the caller is the homeowner", "type": "boolean" }, "callbackTime": { "description": "The callback time reserved by the caller", "type": "string" } }, "required": [ "name", "phone", "isHomeowner" ] } }, "orgId": "9d1d8b58-85cc-485d-9406-cb08ab846701", "server": { "url": "https://testdomain.com/webhook/voice-agents/tool-calls/new-lead", "headers": {} }, "async": true }
Was this page helpful?