Google Maps Search

Coherent can search in Google Maps for business, addresses, and more.

It can even show the opening hours and thumbnails when enabled! (This options are disabled by default to preserve tokens)

TOOLGMAPS_SEARCH

Parameters for a Google Maps search request.

Required attributes

  • Name
    Name
    query
    Type
    string
    Description

    Text to search in Google Maps; can include business names, addresses, etc.

    1 length 100

Optional attributes

  • Name
    Name
    rectangle
    Type
    string
    Description

    Optional lat/lon/zoom search coordinates in @LAT,LON,ZOOMz format.

    The default rectangle covers all of America, Europe, and part of Asia.

    @35.6096825,-57.9084626,3z
    
  • Name
    Name
    show_opening_hours
    Type
    boolean
    Description

    If true, the opening hours of the places will be shown.

    False
    
  • Name
    Name
    show_thumbnail
    Type
    boolean
    Description

    If true, the thumbnail of the places will be shown (both to the user and the AI) as follows:

    DayHours
    Monday9 AM–6 PM
    Tuesday9 AM–6 PM
    Wednesday9 AM–6 PM
    Thursday9 AM–6 PM
    Friday9 AM–2 PM
    SaturdayClosed
    SundayClosed

    False
    

Function Call

TOOL
GMAPS_SEARCH
#### GMAPS_SEARCH
```json
{
  "query": "Mc Donalds"
}
```

Response

#### Success

Was this page helpful?