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

| JSON representation |
|---|
| ``` { "retrievalConfig": { object (`https://firebase.google.com/docs/reference/ai-logic/rest/v1beta/ToolConfig#RetrievalConfig`) } } ``` |

| Fields ||
|---|---|
| `retrievalConfig` | ``object (`https://firebase.google.com/docs/reference/ai-logic/rest/v1beta/ToolConfig#RetrievalConfig`)`` Optional. Retrieval config. |

## RetrievalConfig

Retrieval config.

| JSON representation |
|---|
| ``` { "latLng": { object (`https://firebase.google.com/docs/reference/ai-logic/rest/v1beta/ToolConfig#LatLng`) }, "languageCode": string } ``` |

| Fields ||
|---|---|
| `latLng` | ``object (`https://firebase.google.com/docs/reference/ai-logic/rest/v1beta/ToolConfig#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](https://en.wikipedia.org/wiki/World_Geodetic_System#1984_version). 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\]. |