From 18c6c8c3c413f326fbafaa317a6688132372e66d Mon Sep 17 00:00:00 2001 From: abiramit5 Date: Wed, 6 Aug 2025 21:26:13 +0530 Subject: [PATCH] Update google-cloud-tools.md --- docs/tools/google-cloud-tools.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/tools/google-cloud-tools.md b/docs/tools/google-cloud-tools.md index d11e9068..01d5697b 100644 --- a/docs/tools/google-cloud-tools.md +++ b/docs/tools/google-cloud-tools.md @@ -221,10 +221,10 @@ It supports both on-premise and SaaS applications. In addition, you can turn you Set up your project structure and create required files. ```console - project_root_folder - |-- my_agent - | |-- agent.java - | `-- pom.xml + project_root_folder + |-- my_agent + | |-- agent.java + | `-- pom.xml ``` When running the agent, make sure to run the commands in the `project\_root_folder`. @@ -487,10 +487,10 @@ workflow as a tool for your agent or create a new one. To update the `agent.java` file and add the tool to your agent, use the following code: - ```java - import com.google.adk.agent.LlmAgent; - import com.google.adk.tools.BaseTool; - import com.google.common.collect.ImmutableList; + ```java + import com.google.adk.agent.LlmAgent; + import com.google.adk.tools.BaseTool; + import com.google.common.collect.ImmutableList; public class MyAgent { public static void main(String[] args) { @@ -515,11 +515,11 @@ workflow as a tool for your agent or create a new one. // For example, you can start a conversation with the agent. } } - ``` + ``` **Note:** To find the list of supported entities and actions for a - connection, use these Connector APIs: `listActions`, `listEntityTypes`. - + connection, use these Connector APIs: `listActions`, `listEntityTypes`. + #### 3. Expose your agent === "Python"