Class VertexAiSearchAgentTool
java.lang.Object
com.google.adk.tools.BaseTool
com.google.adk.tools.AgentTool
com.google.adk.tools.VertexAiSearchAgentTool
A tool that wraps a sub-agent that only uses vertex_ai_search tool.
This is a workaround to support using VertexAiSearchTool tool with other tools.
-
Nested Class Summary
Nested classes/interfaces inherited from class BaseTool
BaseTool.ToolArgsConfig, BaseTool.ToolConfig -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic VertexAiSearchAgentToolcreate(BaseLlm model, VertexAiSearchTool vertexAiSearchTool) Methods inherited from class AgentTool
create, create, declaration, fromConfig, runAsyncMethods inherited from class BaseTool
customMetadata, description, fromConfig, longRunning, name, processLlmRequest, runAsync, runAsync, runAsync, runAsync, runAsync, runAsync, setCustomMetadata
-
Constructor Details
-
VertexAiSearchAgentTool
-
-
Method Details
-
create
-