Ive been trying to setup a google calendar connector for my custom agent that I am creating via ADK. However, figuring out the entities/actions and what they do isnt documented that clearly and makes it hard to know what each does clearly. For example, for the google calendar connector, even though I gave the action to list all events, when I tried to prompt the agent to get my events for today, it didnt work. I then had to figure out that I also had to create a custom tool to get the current date and time before the model could get the list of events which makes sense but it wasnt intuitive that this was needed when creating this connector and I am assuming this will also be the case of other connectors and having to figure out what other things/tools are needed to make it work properly.
Additionally, some of the actions like “create” didnt seem to work, like it gave an error when I tried to run the agent but when I removed that particular action from the list, the agent worked. So not sure what the issue is with the delete action in google calendar.
Has anyone else encountered similar difficulties with other connectors as well ? If so, any suggestions on how to better effectively use these connectors ?
Welcome to the community! We saw your question and wanted to let you know we’re keeping it on our radar. We’ll also invite others in the community to pitch in and share their thoughts.
You might try not setting any specific Action at all in the ADK and then observe how the Agent uses the Actions. Make sure you have created the “ExecuteConnection” integration flow from the “Connection Tool” integration template. Once you have learned from the Agent, you can restrict the list of actions down to be only the Actions you wish to expose to the Agent. The agent is very clever at figuring out each action and all of it’s inputs and outputs. BTW: The Google Calendar Connector only has actions, it doesn’t use any Entity+Operations.
e.g., specify all actions in the ApplicationIntegrationToolset where you are referring to the Google Calendar Connector: my_toolset = ApplicationIntegrationToolset( tool_name_prefix=“unique_prefix_”, connection=“calendar_connection_name”, actions=[] )