Custom Tool Call - Messages Property? Proper format???

Hello all. I am trying to configure a Custom Tool using the API. There is a property messages in the tool format. The documentation is worthless. ChatGPT's attempt to format failed. Claudes format failed. The VAPI Documentation agent gave me three different formats, all three failed.

Can someone definitively tell me the format of this property?

I want my agent to speak a line while my API Request is in-flight.

Second part of the question: Where am I supposed to go to figure this out and any of the dozens of other questions. The documentation has nothing. The VAPI Documentation AI gave me three wrong answers. One of the promising links in the documentation took me to a github repo that had NOTHING to do with this.Whatis the right way to not be pestering VAPI support with basic API questions?

-- Michael.
Was this page helpful?