ToolConfig

Tool config. This config is shared for all tools provided in the request.

JSON representation
{
  "retrievalConfig": {
    object (RetrievalConfig)
  }
}
Fields
retrievalConfig

object (RetrievalConfig)

Optional. Retrieval config.

RetrievalConfig

Retrieval config.

JSON representation
{
  "latLng": {
    object (LatLng)
  },
  "languageCode": string
}
Fields
latLng

object (LatLng)

Optional. A location's coordinates (using latitude and longitude) so the model returns more relevant and personalized Google Maps results.

languageCode

string

Optional. A language code so the model returns more relevant and personalized Google Maps results.

LatLng

An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges.

JSON representation
{
  "latitude": number,
  "longitude": number
}
Fields
latitude

number

The latitude in degrees. It must be in the range [-90.0, +90.0].

longitude

number

The longitude in degrees. It must be in the range [-180.0, +180.0].