google-maps
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseGoogle Maps
Google Maps
Available Tools
可用工具
-
search_places(query, location?, radius?, type?, open_now?, language?): Search for places using text query.
- (string, required): Search text (e.g., "restaurants in Seoul")
query - (string, optional): Center location as "lat,lng" (e.g., "37.5665,126.9780")
location - (integer, optional): Search radius in meters (max 50,000)
radius - (string, optional): Place type filter (e.g., "restaurant", "tourist_attraction", "hotel")
type - (boolean, optional, default: false): Only return currently open places
open_now - (string, optional, default: "en"): Language code
language
-
search_nearby_places(location, radius, keyword?, type?, rank_by?, open_now?, language?): Search near specific coordinates.
- (string, required): Center as "lat,lng" (e.g., "37.5665,126.9780")
location - (integer, required): Search radius in meters (max 50,000)
radius - (string, optional): Search keyword
keyword - (string, optional): Place type filter
type - (string, optional, default: "prominence"): "prominence" or "distance"
rank_by - (boolean, optional, default: false): Only open places
open_now - (string, optional, default: "en"): Language code
language
-
get_place_details(place_id, language?, reviews_sort?): Get detailed place info including reviews and hours.
- (string, required): Place ID from search results
place_id - (string, optional, default: "en"): Language code
language - (string, optional, default: "most_relevant"): "most_relevant" or "newest"
reviews_sort
-
get_directions(origin, destination, mode?, alternatives?, avoid?, language?): Get directions between two locations.
- (string, required): Starting point (address or "lat,lng")
origin - (string, required): Destination (address or "lat,lng")
destination - (string, optional, default: "driving"): "driving", "walking", "bicycling", "transit"
mode - (boolean, optional, default: false): Return alternative routes
alternatives - (string, optional): "tolls", "highways", or "ferries"
avoid - (string, optional, default: "en"): Language code
language
-
geocode_address(address, language?, region?): Convert a text address to geographic coordinates.
- (string, required): Address to geocode
address - (string, optional, default: "en"): Language code
language - (string, optional): Country code for regional bias
region
-
reverse_geocode(latlng, language?): Convert coordinates to a human-readable address.
- (string, required): Coordinates as "lat,lng" (e.g., "37.5665,126.9780")
latlng - (string, optional, default: "en"): Language code
language
-
show_on_map(map_type, markers?, directions?, center?, zoom?): Display locations or routes on an interactive map.
- (string, required): "markers" (location pins), "directions" (route), or "area"
map_type - (array, required for "markers"): List of marker objects with lat, lng
markers - (object, required for "directions"): Route data with origin and destination
directions - (object, optional): Map center {lat, lng}
center - (integer, optional): Zoom level 1-20
zoom
-
search_places(query, location?, radius?, type?, open_now?, language?): 按文本查询搜索地点。
- (字符串,必填): 搜索文本(例如:"首尔的餐厅")
query - (字符串,可选): 中心位置,格式为“纬度,经度”(例如:"37.5665,126.9780")
location - (整数,可选): 搜索半径,单位为米(最大50000)
radius - (字符串,可选): 地点类型筛选(例如:"餐厅"、"旅游景点"、"酒店")
type - (布尔值,可选,默认值: false): 仅返回当前营业的地点
open_now - (字符串,可选,默认值: "en"): 语言代码
language
-
search_nearby_places(location, radius, keyword?, type?, rank_by?, open_now?, language?): 按指定坐标搜索周边地点。
- (字符串,必填): 中心位置,格式为“纬度,经度”(例如:"37.5665,126.9780")
location - (整数,必填): 搜索半径,单位为米(最大50000)
radius - (字符串,可选): 搜索关键词
keyword - (字符串,可选): 地点类型筛选
type - (字符串,可选,默认值: "prominence"): "prominence"(知名度)或 "distance"(距离)
rank_by - (布尔值,可选,默认值: false): 仅返回营业中的地点
open_now - (字符串,可选,默认值: "en"): 语言代码
language
-
get_place_details(place_id, language?, reviews_sort?): 获取地点详细信息,包括评论和营业时间。
- (字符串,必填): 搜索结果中的地点ID
place_id - (字符串,可选,默认值: "en"): 语言代码
language - (字符串,可选,默认值: "most_relevant"): "most_relevant"(最相关)或 "newest"(最新)
reviews_sort
-
get_directions(origin, destination, mode?, alternatives?, avoid?, language?): 获取两地之间的路线。
- (字符串,必填): 起点(地址或“纬度,经度”格式)
origin - (字符串,必填): 终点(地址或“纬度,经度”格式)
destination - (字符串,可选,默认值: "driving"): "driving"(驾车)、"walking"(步行)、"bicycling"(骑行)、"transit"(公共交通)
mode - (布尔值,可选,默认值: false): 返回备选路线
alternatives - (字符串,可选): "tolls"(收费站)、"highways"(高速公路)或 "ferries"(渡轮)
avoid - (字符串,可选,默认值: "en"): 语言代码
language
-
geocode_address(address, language?, region?): 将文本地址转换为地理坐标。
- (字符串,必填): 待编码的地址
address - (字符串,可选,默认值: "en"): 语言代码
language - (字符串,可选): 用于区域偏好的国家代码
region
-
reverse_geocode(latlng, language?): 将坐标转换为人类可读的地址。
- (字符串,必填): 坐标,格式为“纬度,经度”(例如:"37.5665,126.9780")
latlng - (字符串,可选,默认值: "en"): 语言代码
language
-
show_on_map(map_type, markers?, directions?, center?, zoom?): 在交互式地图上显示地点或路线。
- (字符串,必填): "markers"(地点标记)、"directions"(路线)或 "area"(区域)
map_type - (数组,当map_type为"markers"时必填): 包含lat、lng的标记对象列表
markers - (对象,当map_type为"directions"时必填): 包含起点和终点的路线数据
directions - (对象,可选): 地图中心 {lat, lng}
center - (整数,可选): 缩放级别1-20
zoom
Usage Guidelines
使用指南
- ALWAYS call show_on_map after collecting location data — visual maps are the primary value.
- Preserve from search results for use with
place_id.get_place_details - Infer transportation mode from context (driving for long distances, walking for short ones).
- Show 1-5 most relevant places per map.
- 务必在收集到地点数据后调用show_on_map — 可视化地图是核心价值所在。
- 保留搜索结果中的,以便用于
place_id。get_place_details - 根据上下文推断交通方式(长距离用驾车,短距离用步行)。
- 每张地图显示1-5个最相关的地点。
Response Pattern
响应模式
Follow the Text -> Map -> Text sequence. Do NOT call in parallel with other tool calls.
show_on_map- Text: Introduce what you'll show
- Map: Call to display results
show_on_map - Text: Explain the results
Multiple categories: Use separate maps in sequence — never parallel.
遵循文本 -> 地图 -> 文本的顺序。请勿将与其他工具调用并行执行。
show_on_map- 文本: 介绍即将展示的内容
- 地图: 调用显示结果
show_on_map - 文本: 解释结果
多类别场景: 按顺序使用单独的地图 — 切勿并行。