VAPI tools dont change assistant speach

Hi Vapi Team, im trying to build ai assistant, i want it to use tools to connect my api and get the information online. I’m experiencing an issue where tool_result is correctly sent from my websocket integration (with structured JSON and message field), but the assistant repeatedly says "I couldn't find any patient" and continues calling the same tool_call ID over and over.

I’ve attached logs showing:

Correct payload

Proper tool name and output

Static tool_call_id

It seems tool_result is not being accepted or recognized.

Could you help clarify what the assistant expects in this case?
Was this page helpful?