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 FunctionDeclarationFunctionDeclaration.Builder.build()static FunctionDeclarationDeserializes a JSON string to a FunctionDeclaration object.static FunctionDeclarationFunctionDeclaration.fromMethod(Method method, String... orderedParameterNames) Creates a FunctionDeclaration instance from aMethodinstance.static FunctionDeclarationFunctionDeclaration.fromMethod(String functionDescription, Method method, String... orderedParameterNames) Creates a FunctionDeclaration instance from aMethodinstance.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.BuilderTool.Builder.functionDeclarations(List<FunctionDeclaration> functionDeclarations) Setter for functionDeclarations.