Table of Contents

Class InteractionGoogleSearchTool

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

The Google Search grounding tool (google_search).

public sealed class InteractionGoogleSearchTool : InteractionTool
Inheritance
InteractionGoogleSearchTool
Inherited Members
Extension Methods

Constructors

InteractionGoogleSearchTool()

Initializes a new instance of the InteractionGoogleSearchTool class.

public InteractionGoogleSearchTool()

Properties

SearchTypes

The types of search grounding to enable (web_search, image_search, enterprise_web_search).

[JsonPropertyName("search_types")]
public List<string>? SearchTypes { get; set; }

Property Value

List<string>