Package com.google.adk.tools
Class GoogleSearchAgentTool
java.lang.Object
com.google.adk.tools.BaseTool
com.google.adk.tools.AgentTool
com.google.adk.tools.GoogleSearchAgentTool
A tool that wraps a sub-agent that only uses google_search tool.
This is a workaround to support using google_search tool with other tools. TODO(b/448114567): Remove once the workaround is no longer needed.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.adk.tools.BaseTool
BaseTool.ToolArgsConfig, BaseTool.ToolConfig -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.google.adk.tools.AgentTool
create, create, create, declaration, fromConfig, getAgent, runAsyncMethods inherited from class com.google.adk.tools.BaseTool
customMetadata, description, fromConfig, longRunning, name, processLlmRequest, runAsync, runAsync, runAsync, runAsync, runAsync, runAsync, setCustomMetadata
-
Constructor Details
-
GoogleSearchAgentTool
-
-
Method Details
-
create
-