Table of Contents

Class InteractionToolTypes

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

Known values of the type discriminator of InteractionTool.

public static class InteractionToolTypes
Inheritance
InteractionToolTypes
Inherited Members

Fields

CodeExecution

Code execution tool.

public const string CodeExecution = "code_execution"

Field Value

string

ComputerUse

Computer use tool.

public const string ComputerUse = "computer_use"

Field Value

string

FileSearch

File search tool.

public const string FileSearch = "file_search"

Field Value

string

Function

Function declaration.

public const string Function = "function"

Field Value

string

GoogleMaps

Google Maps tool.

public const string GoogleMaps = "google_maps"

Field Value

string

GoogleSearch

Google Search tool.

public const string GoogleSearch = "google_search"

Field Value

string

McpServer

Remote MCP server tool.

public const string McpServer = "mcp_server"

Field Value

string

Retrieval

Retrieval tool.

public const string Retrieval = "retrieval"

Field Value

string

UrlContext

URL context tool.

public const string UrlContext = "url_context"

Field Value

string