From 2e1b09fdd07fb22839ea91bd109e409b44df4f82 Mon Sep 17 00:00:00 2001 From: Google Team Member Date: Thu, 18 Dec 2025 05:56:21 -0800 Subject: [PATCH] feat: add ExampleTool to ComponentRegistry PiperOrigin-RevId: 846228065 --- core/src/main/java/com/google/adk/utils/ComponentRegistry.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/src/main/java/com/google/adk/utils/ComponentRegistry.java b/core/src/main/java/com/google/adk/utils/ComponentRegistry.java index 874afab7f..0a9f55b16 100644 --- a/core/src/main/java/com/google/adk/utils/ComponentRegistry.java +++ b/core/src/main/java/com/google/adk/utils/ComponentRegistry.java @@ -29,6 +29,7 @@ import com.google.adk.tools.AgentTool; import com.google.adk.tools.BaseTool; import com.google.adk.tools.BaseToolset; +import com.google.adk.tools.ExampleTool; import com.google.adk.tools.ExitLoopTool; import com.google.adk.tools.GoogleMapsTool; import com.google.adk.tools.GoogleSearchTool; @@ -115,6 +116,7 @@ private void initializePreWiredEntries() { registerAdkToolClass(AgentTool.class); registerAdkToolClass(LongRunningFunctionTool.class); + registerAdkToolClass(ExampleTool.class); registerAdkToolsetClass(McpToolset.class); // TODO: add all python tools that also exist in Java.