Vapi Tool Call Failed and Succeeded at Same Time
# support
l
Call Id: 019d201a-dc25-7777-9904-c12dc695c33b For this call, when the AI agent made a tool call, it would call it twice for some reason and then one of them would error out and one of them would be successful. Also, when I checked the logs in the backend code, it would only get pinged once (the successful time). Any reason why this happens?
a
Hey! This usually happens when the AI agent retries a tool call internally, even if the backend only receives it once. Sometimes it’s caused by timeout settings or how the agent handles failed attempts. I can help you dig into the logs and fix the double-call behavior if you want. @Lightheaded
l
Yeah sure. But looking at the logs, it didnt retry the tool call, it just called it twice at the same exact timestamp