← 返回
未分类 中文

Google Maps

Google Maps and Places API integration. Search places, geocode addresses, calculate routes, get directions, and retrieve location data. Use this skill when u...
Google Maps 与 Places API 集成。搜索地点、地理编码地址、计算路线、获取导航指示并检索位置数据。适用于需要位置服务的场景。
hith3sh hith3sh 来源
未分类 clawhub v1.0.6 2 版本 99817.9 Key: 无需
★ 7
Stars
📥 1,504
下载
💾 1
安装
2
版本
#latest

概述

Google Maps

!Google Maps

Access Google Maps and Places API via ClawLink managed credentials. Search places, geocode addresses, calculate routes, get directions, and retrieve location data.

This skill uses ClawLink for hosted connection flows and credentials so you do not need to configure Google Maps API access yourself.

Setup in 3 Steps

Step 1: InstallStep 2: Pair AccountStep 3: Connect Google Maps
:---::---::---:
!Install!PairApp-specific connection GIF coming soon
Run the install command in OpenClawSign in and approve the deviceOpen the dashboard and connect Google Maps

How It Works

┌─────────────────┐     ┌──────────────┐     ┌──────────────────┐
│   OpenClaw      │────▶│   ClawLink   │────▶│   Google Maps   │
│   (User Chat)   │     │   (OAuth)    │     │  (Places/Routes) │
└─────────────────┘     └──────────────┘     └──────────────────┘
         │                       │                       │
         │  1. Install Plugin    │                       │
         │  2. Pair Device       │                       │
         │  3. Connect Maps      │                       │
         │                       │  4. Secure Token       │
         │                       │  5. Proxy Requests    │
         │                       │                       │
         ▼                       ▼                       ▼
   ┌──────────┐           ┌──────────┐           ┌──────────┐
   │  SKILL   │           │ Dashboard│           │  Google  │
   │  File    │           │ Auth     │           │  Maps    │
   └──────────┘           └──────────┘           └──────────┘

Install

Install the verified ClawLink plugin from ClawHub. After the user confirms, complete the full setup so ClawLink tools are visible in the next OpenClaw chat.

openclaw plugins install clawhub:clawlink-plugin
openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json
openclaw gateway restart

Then tell the user: "OpenClaw has been restarted. Send /new as a standalone message to start a fresh chat, then ask for Google Maps again."

Quick Start

# Search for places
clawlink_call_tool --tool "googlemaps_search_places" --params '{"query": "coffee shop nearby"}'

# Geocode an address
clawlink_call_tool --tool "googlemaps_geocode" --params '{"address": "1600 Amphitheatre Parkway, Mountain View, CA"}'

# Get directions
clawlink_call_tool --tool "googlemaps_directions" --params '{"origin": "San Francisco, CA", "destination": "Los Angeles, CA"}'

Authentication

All Google Maps tool calls are authenticated automatically by ClawLink using the user's connected Google account or API key.

No API key is required in chat. ClawLink handles credential management and injects it into every Google Maps API request on the user's behalf.

Getting Connected

  1. Install the ClawLink plugin (see Install above).
  2. Pair the plugin with clawlink_begin_pairing if it is not configured yet.
  3. Open https://claw-link.dev/dashboard?add=google-maps and connect Google Maps.
  4. Call clawlink_list_integrations to verify the connection is active.

Connection Management

List Connections

clawlink_list_integrations

Response: Returns all connected integrations. Look for google-maps in the list.

Verify Connection

clawlink_list_tools --integration google-maps

Response: Returns the live tool catalog for Google Maps.

Reconnect

If Google Maps tools are missing or the connection shows an error:

  1. Direct the user to https://claw-link.dev/dashboard?add=google-maps
  2. After they confirm, call clawlink_list_integrations to verify
  3. Then call clawlink_list_tools --integration google-maps

Security & Permissions

  • Access is scoped to location and routing data available through the Google Maps API.
  • Write operations require explicit user confirmation. Before executing any call that modifies data, confirm the target and intended effect with the user.
  • Geocoding and routing are read-only operations that do not modify any data.

Tool Reference

Place Search & Discovery

ToolDescriptionMode
-------------------------
googlemaps_search_placesSearch for places by text query, category, or nameRead
googlemaps_nearby_searchFind places near a location within a radiusRead
googlemaps_place_detailsGet detailed information about a specific placeRead
googlemaps_find_placeFind a place from a text query or phone numberRead
googlemaps_autocompleteGet place suggestions as the user typesRead

Geocoding & Address Lookup

ToolDescriptionMode
-------------------------
googlemaps_geocodeConvert an address to latitude/longitude coordinatesRead
googlemaps_reverse_geocodeConvert coordinates back to a human-readable addressRead

Routing & Directions

ToolDescriptionMode
-------------------------
googlemaps_directionsGet directions between origin and destination with multiple modesRead
googlemaps_distance_matrixCalculate distances and travel times between multiple origins and destinationsRead
googlemaps_route_matrixGet route information for multiple origin-destination pairsRead

Elevation & Terrain

ToolDescriptionMode
-------------------------
googlemaps_elevationGet elevation data for locations on the earthRead
googlemaps_elevation_along_pathGet elevation data along a pathRead

Time Zone

ToolDescriptionMode
-------------------------
googlemaps_timezoneGet the time zone for a locationRead

Roads

ToolDescriptionMode
-------------------------
googlemaps_snap_to_roadsSnap GPS points to the nearest road segmentsRead
googlemaps_nearest_roadsGet the nearest road segments to given coordinatesRead

Geolocation

ToolDescriptionMode
-------------------------
googlemaps_geolocateGet a device's location from cell towers and WiFi nodesRead

Static Maps

ToolDescriptionMode
-------------------------
googlemaps_static_mapsGenerate a static map image with markers and pathsRead

Code Examples

Search for a place

clawlink_call_tool --tool "googlemaps_search_places" \
  --params '{
    "query": "Italian restaurant",
    "location": {"latitude": 37.7749, "longitude": -122.4194},
    "radius": 1000
  }'

Geocode an address

clawlink_call_tool --tool "googlemaps_geocode" \
  --params '{
    "address": "1 Apple Park Way, Cupertino, CA 95014"
  }'

Get directions

clawlink_call_tool --tool "googlemaps_directions" \
  --params '{
    "origin": "San Francisco, CA",
    "destination": "Yosemite National Park, CA",
    "mode": "driving",
    "waypoints": [{"stop_over": true, "location": "Palo Alto, CA"}]
  }'

Get distance matrix

clawlink_call_tool --tool "googlemaps_distance_matrix" \
  --params '{
    "origins": ["San Francisco, CA", "Oakland, CA"],
    "destinations": ["Los Angeles, CA", "San Diego, CA"],
    "mode": "driving"
  }'

Get place details

clawlink_call_tool --tool "googlemaps_place_details" \
  --params '{
    "place_id": "YOUR_PLACE_ID",
    "fields": ["name", "formatted_address", "rating", "reviews", "opening_hours"]
  }'

Reverse geocode

clawlink_call_tool --tool "googlemaps_reverse_geocode" \
  --params '{
    "location": {"latitude": 37.4220, "longitude": -122.0841}
  }'

Discovery Workflow

  1. Call clawlink_list_integrations to confirm Google Maps is connected.
  2. Call clawlink_list_tools --integration google-maps to see the live catalog.
  3. Treat the returned list as the source of truth. Do not guess or assume what tools exist.
  4. If the user describes a capability but the exact tool is unclear, call clawlink_search_tools with a short query and integration google-maps.
  5. If no Google Maps tools appear, direct the user to https://claw-link.dev/dashboard?add=google-maps.

Execution Workflow

┌─────────────────────────────────────────────────────────────┐
│  READ OPERATIONS (Safe)                                     │
│  search → get → geocode → directions → call                 │
│                                                             │
│  Example: Search places → Get details → Show results       │
└─────────────────────────────────────────────────────────────┘
                              │
                              ▼
┌─────────────────────────────────────────────────────────────┐
│  WRITE / HIGH-IMPACT OPERATIONS                             │
│  describe → preview → confirm → call                        │
│                                                             │
│  Example: Describe tool → Preview → User approves            │
│           → Execute                                          │
└─────────────────────────────────────────────────────────────┘
  1. For unfamiliar tools, ambiguous requests, or any write action, call clawlink_describe_tool first.
  2. Use the returned guidance, schema, whenToUse, askBefore, safeDefaults, examples, and followups to shape the call.
  3. Prefer read, list, search, and get operations before writes.
  4. For write operations or anything marked as requiring confirmation, call clawlink_preview_tool first.
  5. Execute with clawlink_call_tool. Pass confirmation only after the preview matches the user's intent.
  6. If the tool call fails, report the real error. Do not invent results or restate the failure as a missing capability unless the live catalog supports that conclusion.

Notes

  • Most Google Maps API calls are read-only (geocoding, directions, place search).
  • API quotas and limits apply — check the Google Cloud Console for your project limits.
  • Place IDs are stable but may change over time — always capture fresh IDs from search responses.
  • Routing results depend on real-time traffic data when available.
  • snap_to_roads requires a Google Maps Roads API-enabled project.

Error Handling

Status / ErrorMeaning
-------------------------
Tool not foundThe tool name does not exist in the current catalog. Verify with clawlink_list_tools --integration google-maps.
Missing connectionGoogle Maps is not connected. Direct the user to https://claw-link.dev/dashboard?add=google-maps.
NOT_FOUNDPlace or location does not exist. Check the place_id or query.
INVALID_ARGUMENTInvalid parameter or missing required field. Review the tool schema with clawlink_describe_tool.
OVER_QUERY_LIMITAPI quota exceeded. Wait and retry, or check Google Cloud quotas.
Write rejectedUser did not confirm a write action. Always confirm before executing writes.

Troubleshooting: Tools Not Visible

  1. Check that the ClawLink plugin is installed:

```bash

openclaw plugins list

```

  1. If the plugin is installed but tools are missing, tell the user to send /new as a standalone message to reload the catalog.
  2. If a fresh chat does not help, run:

```bash

openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json

openclaw gateway restart

```

  1. After restart, tell the user to send /new again and retry.

Troubleshooting: Invalid Tool Call

  1. Ensure the integration slug is exactly google-maps.
  2. Use clawlink_describe_tool to verify parameter names and types before calling.
  3. For write operations, always call clawlink_preview_tool first.

Resources


Powered by ClawLink — an integration hub for OpenClaw

!ClawLink Logo

版本历史

共 2 个版本

  • v1.0.6 当前
    2026-06-09 16:12 安全 安全
  • v0.1.0
    2026-05-21 13:48 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

GitHub

hith3sh
通过 GitHub REST 和GraphQL API 与仓库、议题、拉取请求、提交、分支、发布和工作流进行交互。在需要时使用此技能。
★ 6 📥 1,780

Notion Assistant

hith3sh
搜索页面和数据库、更新内容、管理 Notion 工作区数据,支持从聊天中读取、创建或修改 Notion 页面...
★ 8 📥 1,772

Microsoft Excel

hith3sh
通过托管 OAuth 集成 Microsoft Excel API,实现对 OneDrive 中 Excel 工作簿、工作表、区域、表格和图表的读写。使用此技能...
★ 6 📥 1,774