Assistant never calling tool although it being pas...
# support
s
I am creating a assistant via the node sever sdk and i want to make it use a existing tool, i already have a tool created in the vapi dashboard and it has worked in the past with assistants created from the dashboard. I am currently doing this: model: { toolIds: ["my-tool-id"], provider: "openai", model: "gpt-4o-mini", messages: [ { role: "system", content: "System Prompt which includes the exact name of the tool", }, ] }, Upon creating the agent i can clearly see that the tool has been set but it never gets used in the call as it had with assistants created in the dashboard.
c
Include the correct tool ID in the toolIds array within the assistant’s model config, ensure the tool is properly set up and active in your vapi Dashboard, reference the tool in the system prompt, then test and verify the tool is called during interactions..
s
All of that is already confirmed. But it still does not work as it should.
c
Hey! To help track down this issue, could you share: - The call ID - This would really help us figure out what went wrong!
s
Here is one of the call ids 41b63095-38db-4a0d-b933-09b03363fa7d
I think i figured it out. I was using the open ai 4o mini model as soon as i used the base 4o model it at least started calling the tool
c
Glad the issue was resolved. Please reach out to us if you have any other questions regarding this issue
3 Views