Tool Error: Unable to find endCall Tool and Local ...
# support
t
I have the tool added on the assistant.
v
Hi there! 👋 I see you're encountering a tool error with your Vapi assistant. I don't have access to your specific assistant configuration, but I can definitely help troubleshoot this issue based on similar problems others have faced. Here are some troubleshooting steps for both tools: ## For the endCall Tool: 1. **Check your tool configuration format**: Make sure you've added the
endCall
tool correctly in your assistant's configuration:
Copy code
json
   "tools": [
     {
       "type": "endCall"
     }
   ]
According to [documentation](https://docs.vapi.ai/tools/default-tools), the "Enabled End Call Function" is deprecated, so use the above method instead. 2. **Verify assistant configuration**: Ensure that
endCall
is included in the assistant's list of available tools. Here's an example configuration:
Copy code
json
   {
     "model": {
       "provider": "openai",
       "model": "gpt-3.5-turbo",
       "messages": [
         {
           "role": "system",
           "content": "You are an assistant. If needed, use the endCall function."
         }
       ],
       "tools": [
         {
           "type": "endCall"
         }
       ]
     }
   }
3. **Check for conflicting configurations**: Remove any
phone-call-control server event
from the assistant, as this can cause call forwarding to be managed manually rather than by VAPI. ## For the Local query tool: 1. **Check tool availability**: - Verify the tool is still added to the assistant in the 'files' tab - Try re-selecting the Local query tool in the agent settings - If not listed, re-add it to the assistant 2. **Knowledge Base configuration**: - Ensure the KnowledgeBase is properly linked to the assistant - Verify the KnowledgeBase configuration (including
searchType
and
scoreThreshold
) - Review call logs for any indication of why the assistant isn't retrieving information 3. **Tool configuration parameters**:
Check for correct tool configuration, including proper
type
properties and ensuring that the
toolId
property is not present if it's causing issues. ## General troubleshooting: 1. **Update assistant configuration**: When updating your assistant configuration, make sure to provide all used properties again inside the model property, such as the system prompt. 2. **Browser issues**: Try clearing your browser cache/cookies, disabling extensions, or using a different browser. 3. **Check logs**: Look into the logs associated with the call IDs to identify any anomalies or errors during message handling. 4. **API request format**: If using the API, ensure your request payload is correctly formatted with all required fields. Is there any specific part of the configuration you're having trouble with that I can help clarify further? Sources: - [Troubleshooting 'endCall Tool' not found error](https://docs.vapi.ai/tools/default-tools) - [Troubleshooting 'Local query tool' not found error](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1336674769055252594) - [How to integrate 'endCall Tool' with Vapi assistant](https://docs.vapi.ai/tools/default-tools) - [Troubleshooting tool integration issues in Vapi assistant](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334024569861963788)
s
^^ Can you provide the call_id?
k
@Tanglebot
t
Looks like I had to log off/on and recreate it. the saving showed that it saved initially but it did not. Looks like it was the saving feature. Even though I clicked save like 5 times to make sure it saved lol