Assistant via webhook not making tool calls.
# support
n
Assistant via webhook not making tool calls. when variables are passed from Vapi to Make Vapi they show up in make as function.call where normally in the past they have been tool calls. Any thoughts on why this would happen or settings causing this? https://cdn.discordapp.com/attachments/1408040801216499803/1408040801425952789/image.png?ex=68a84baf&is=68a6fa2f&hm=330edad910c76e2996c047c98b71aa68185c12a4941a177216073acc1255e120&
c
Hi Noid, The issue you're experiencing might be due to configuration changes in your assistant's tool setup. Here are some steps to troubleshoot and resolve it: 1. **Tool Configuration**: Ensure that the tools are correctly set up in your assistant configuration. Verify that the correct tool names are used in your prompts and that the tool definitions in the configuration include all necessary parameters with proper schema validation (
strict: true
). 2. **Schema Validation**: Make sure that all required parameters for the tool calls are defined and being passed correctly, as missing parameters can prevent the tool from triggering. 3. **Check Assistant Instructions**: Ensure that the assistant's prompts are correctly specifying the tool names as defined in your dashboard or API configuration. The exact tool name should be used. 4. **API vs. Function Call**: If the calls are appearing as
function.call
, check if the tool is set as a function rather than a tool. You might need to adjust the configuration to ensure the tool calls are registered as
tool.calls
. 5. **Server URL and Call ID**: Verify that the correct server URL is being used for the tool calls. If integration uses a webhook, ensure that the webhook can handle and recognize tool calls properly. 6. **Logs and Responses**: Check your call logs to identify any schema validation errors or response parsing errors. These logs can provide insights into issues like missing parameters or incorrect JSON formats. You might want to also check any recent configuration changes that could have affected this behavior, especially regarding tool setup or webhook configurations. For more detailed guidance, consider referring to the [Custom Tools Setup](https://docs.vapi.ai/tools/custom-tools) and [Troubleshooting](https://docs.vapi.ai/tools/custom-tools-troubleshooting) documentation. Let us know if you need further assistance.
n
Thank you for the response. I do not know why however this occurs when you put the make url in the phone number server URL setting. Once this was removed all my calls became toolcalls and everything was golden 🙂
c
Hello, Thanks for reaching out to us. We are sorry for the inconvenience. Can you give more details about your concern? Your Org ID, email address and other details that will help us pinpoint your account and to look further into it? We will investigate further and we appreciate your kind understanding and patience.
3 Views