My tool/function in vapi was not getting triggered and sending response to make when I used the name of the tool in the prompt. Many a times, it worked with name but sometimes failed to send any data.
So I added, "The tool id is <id>" and boom, it worked like a charm.