Class BaseRetrievalTool
java.lang.Object
com.google.adk.tools.BaseTool
com.google.adk.tools.retrieval.BaseRetrievalTool
Base class for retrieval tools.
-
Constructor Summary
ConstructorsConstructorDescriptionBaseRetrievalTool
(String name, String description) BaseRetrievalTool
(String name, String description, boolean isLongRunning) -
Method Summary
Modifier and TypeMethodDescriptionOptional
<com.google.genai.types.FunctionDeclaration> Gets theFunctionDeclaration
representation of this tool.Methods inherited from class com.google.adk.tools.BaseTool
description, longRunning, name, processLlmRequest, runAsync
-
Constructor Details
-
BaseRetrievalTool
-
BaseRetrievalTool
-
-
Method Details
-
declaration
Description copied from class:BaseTool
Gets theFunctionDeclaration
representation of this tool.- Overrides:
declaration
in classBaseTool
-