public class Tool
Tool | Initializes a new instance of the Tool class |
CodeExecution | Optional. Enables the model to execute code as part of generation. |
FunctionDeclarations | Optional. A list of FunctionDeclarations available to the model that can be used for function calling. The model or system does not execute the function. Instead the defined function may be returned as a FunctionCall with arguments to the client side for execution. The model may decide to call a subset of these functions by populating FunctionCall in the response. The next conversation turn may contain a FunctionResponse with the Role "function" generation context for the next model turn. |
GoogleSearch | Optional. GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google. |
GoogleSearchRetrieval | Optional. Retrieval tool that is powered by Google search. |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
GetHashCode | Serves as the default hash function. (Inherited from Object) |
GetType | Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
ToString | Returns a string that represents the current object. (Inherited from Object) |