Uses of Class
com.google.genai.types.FunctionDeclaration
Packages that use FunctionDeclaration
-
Uses of FunctionDeclaration in com.google.genai.types
Methods in com.google.genai.types that return FunctionDeclarationModifier and TypeMethodDescriptionabstract FunctionDeclaration
FunctionDeclaration.Builder.build()
static FunctionDeclaration
Deserializes a JSON string to a FunctionDeclaration object.static FunctionDeclaration
FunctionDeclaration.fromMethod
(Method method, String... orderedParameterNames) Creates a FunctionDeclaration instance from aMethod
instance.static FunctionDeclaration
FunctionDeclaration.fromMethod
(String functionDescription, Method method, String... orderedParameterNames) Creates a FunctionDeclaration instance from aMethod
instance.Methods in com.google.genai.types that return types with arguments of type FunctionDeclarationModifier and TypeMethodDescriptionabstract Optional<List<FunctionDeclaration>>
Tool.functionDeclarations()
List of function declarations that the tool supports.Methods in com.google.genai.types with parameters of type FunctionDeclarationModifier and TypeMethodDescriptionTool.Builder.functionDeclarations
(FunctionDeclaration... functionDeclarations) Setter for functionDeclarations.Method parameters in com.google.genai.types with type arguments of type FunctionDeclarationModifier and TypeMethodDescriptionabstract Tool.Builder
Tool.Builder.functionDeclarations
(List<FunctionDeclaration> functionDeclarations) Setter for functionDeclarations.