> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pinkfish.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# google-maps

> Geocoding, directions, and places

**Server path:** `/google-maps` | **Type:** Application | **PCID required:** Yes

## Tools

| Tool                                                          | Description                                                                  |
| ------------------------------------------------------------- | ---------------------------------------------------------------------------- |
| [`google-maps_geocode`](#google-maps_geocode)                 | Convert address to geographic coordinates for Google Maps                    |
| [`google-maps_search_places`](#google-maps_search_places)     | Search for places by query with optional location and radius for Google Maps |
| [`google-maps_place_details`](#google-maps_place_details)     | Get detailed information about a specific place for Google Maps              |
| [`google-maps_distance_matrix`](#google-maps_distance_matrix) | Calculate distance and travel time between origins and destinations in Maps  |
| [`google-maps_elevation`](#google-maps_elevation)             | Get elevation data for locations for Google Maps                             |
| [`google-maps_directions`](#google-maps_directions)           | Get directions between two locations for Google Maps                         |

***

## google-maps\_geocode

Convert address to geographic coordinates for Google Maps

**Parameters:**

| Parameter | Type   | Required | Default | Description        |
| --------- | ------ | -------- | ------- | ------------------ |
| `address` | string | Yes      | —       | Address to geocode |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "address": {
        "type": "string",
        "description": "Address to geocode"
      }
    },
    "required": [
      "PCID",
      "address"
    ]
  }
  ```
</Expandable>

***

## google-maps\_search\_places

Search for places by query with optional location and radius for Google Maps

**Parameters:**

| Parameter  | Type   | Required | Default | Description                   |
| ---------- | ------ | -------- | ------- | ----------------------------- |
| `query`    | string | Yes      | —       | Query to search for places    |
| `location` | object | No       | —       | Location to search for places |
| `radius`   | number | No       | —       | Radius of search in meters    |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "query": {
        "type": "string",
        "description": "Query to search for places"
      },
      "location": {
        "type": "object",
        "properties": {
          "latitude": {
            "type": "number",
            "description": "Latitude of location"
          },
          "longitude": {
            "type": "number",
            "description": "Longitude of location"
          }
        },
        "description": "Location to search for places"
      },
      "radius": {
        "type": "number",
        "description": "Radius of search in meters"
      }
    },
    "required": [
      "PCID",
      "query"
    ]
  }
  ```
</Expandable>

***

## google-maps\_place\_details

Get detailed information about a specific place for Google Maps

**Parameters:**

| Parameter  | Type   | Required | Default | Description                 |
| ---------- | ------ | -------- | ------- | --------------------------- |
| `place_id` | string | Yes      | —       | Place ID to get details for |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "place_id": {
        "type": "string",
        "description": "Place ID to get details for"
      }
    },
    "required": [
      "PCID",
      "place_id"
    ]
  }
  ```
</Expandable>

***

## google-maps\_distance\_matrix

Calculate distance and travel time between origins and destinations in Maps

**Parameters:**

| Parameter      | Type      | Required | Default | Description                            |
| -------------- | --------- | -------- | ------- | -------------------------------------- |
| `origins`      | string\[] | Yes      | —       | Origins to calculate distance for      |
| `destinations` | string\[] | Yes      | —       | Destinations to calculate distance for |
| `mode`         | string    | No       | —       | Mode of transportation to use          |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "origins": {
        "type": "array",
        "items": {
          "type": "string"
        },
        "description": "Origins to calculate distance for"
      },
      "destinations": {
        "type": "array",
        "items": {
          "type": "string"
        },
        "description": "Destinations to calculate distance for"
      },
      "mode": {
        "type": "string",
        "enum": [
          "driving",
          "walking",
          "bicycling",
          "transit"
        ],
        "description": "Mode of transportation to use"
      }
    },
    "required": [
      "PCID",
      "origins",
      "destinations"
    ]
  }
  ```
</Expandable>

***

## google-maps\_elevation

Get elevation data for locations for Google Maps

**Parameters:**

| Parameter   | Type      | Required | Default | Description                    |
| ----------- | --------- | -------- | ------- | ------------------------------ |
| `locations` | object\[] | Yes      | —       | Locations to get elevation for |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "locations": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "latitude": {
              "type": "number",
              "description": "Latitude of location"
            },
            "longitude": {
              "type": "number",
              "description": "Longitude of location"
            }
          }
        },
        "description": "Locations to get elevation for"
      }
    },
    "required": [
      "PCID",
      "locations"
    ]
  }
  ```
</Expandable>

***

## google-maps\_directions

Get directions between two locations for Google Maps

**Parameters:**

| Parameter     | Type   | Required | Default | Description                   |
| ------------- | ------ | -------- | ------- | ----------------------------- |
| `origin`      | string | Yes      | —       | Origin of direction           |
| `destination` | string | Yes      | —       | Destination of direction      |
| `mode`        | string | No       | —       | Mode of transportation to use |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "origin": {
        "type": "string",
        "description": "Origin of direction"
      },
      "destination": {
        "type": "string",
        "description": "Destination of direction"
      },
      "mode": {
        "type": "string",
        "enum": [
          "driving",
          "walking",
          "bicycling",
          "transit"
        ],
        "description": "Mode of transportation to use"
      }
    },
    "required": [
      "PCID",
      "origin",
      "destination"
    ]
  }
  ```
</Expandable>
