Table of Contents

Class InteractionGoogleMapsTool

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

The Google Maps grounding tool (google_maps).

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

Constructors

InteractionGoogleMapsTool()

Initializes a new instance of the InteractionGoogleMapsTool class.

public InteractionGoogleMapsTool()

Properties

EnableWidget

Whether to return a widget context token in the tool call result.

[JsonPropertyName("enable_widget")]
public bool? EnableWidget { get; set; }

Property Value

bool?

Latitude

The latitude of the user's location.

[JsonPropertyName("latitude")]
public double? Latitude { get; set; }

Property Value

double?

Longitude

The longitude of the user's location.

[JsonPropertyName("longitude")]
public double? Longitude { get; set; }

Property Value

double?