I can't enable any tools in my assistant
# support
z
When I enable the tool in the tools section it appears, but I refresh the page or make a test call and it doesn't work.
v
Hi there! 👋 I understand how frustrating it can be when tools don't work as expected. I don't have specific information about your particular setup, but I can definitely help with this common issue. Several Vapi users have reported similar problems with tools not persisting after page refreshes or test calls. ## Known Issues & Troubleshooting Steps This appears to be a known issue where tools enabled in the Vapi assistant don't persist properly after a page refresh or test call. According to [user reports in Discord](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1341692740454584331), there may be a bug related to saving tool configurations. Here are some troubleshooting steps you can try: 1. **Update Assistant Configuration via API**: Instead of using the web interface, try enabling the tool using the VAPI API. Here's an example:
Copy code
curl -X PATCH https://api.vapi.ai/assistant/id \
        -H "Authorization: Bearer YOUR_API_KEY" \
        -H "Content-Type: application/json" \
        -d '{
     "model": {
       "provider": "openai",
       "model": "gpt-4o",
       "toolIds": [
         "YOUR_TOOL_ID_HERE"
       ]
     }
   }'
Make sure to include all existing properties in your model configuration, such as the system prompt. 2. **Check Server Secret Configuration**: According to [Discord discussions](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1331991829717188680), you should: - Access the VAPI interface where you configure tools - Locate the section to set the server secret - Enter your API key as the value for
assistant.model.tools.server.secret
- Save the configuration 3. **Clear Browser Cache**: Try a hard reset of your browser with "ctrl+shift+r" as this has [fixed similar issues](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334944779850485790) for other users.
4. **Check Tool Configuration**: Ensure the tool is correctly configured to include headers when making requests, as mentioned in [community discussions](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1331991829717188680). 5. **Alternative Testing Method**: Instead of making a test call, try using the chat endpoint to test your agent as suggested in [this Discord thread](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1333853589965377587). Would you like me to provide more specific troubleshooting steps based on the type of tool you're trying to enable? Sources: - [Discord discussion about tool persistence issues](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1341692740454584331) - [Discord thread about server secret configuration](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1331991829717188680) - [Discord thread about browser cache clearing](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334944779850485790) - [Discord thread about alternative testing methods](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1333853589965377587)
p
Hey, could you record a Loom video of this behavior and share your organization ID so I could take a look?
a gentle reminder to continue this thread.
z
Hello
Hi?
It is also happening to me when I assign an assistant to a phone number
p
Is this happening with one assistant or all? Please provide the id's of the assistants you are having issues with assigning and the phone number you are attempting to assign it to.
2 Views