I am trying to build a agent that utilizes the tool to perform an action for me (eg. checking flight prices or sending an email), however after creating the tool with the schema and authentication, I get "failed to generate response" and I am unable to figure out what is wrong.
I have tried this with Gmail API and Amadeus API but to no avail.