数据分析

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...

它能做什么

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

技能文档

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
InstallPairApp-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:
    openclaw plugins list
    
  2. If the plugin is installed but tools are missing, tell the user to send /new as a standalone message to reload the catalog.
  3. If a fresh chat does not help, run:
    openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json
    openclaw gateway restart
    
  4. 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

相关技能

以 AI 机器人身份加入视频会议,提供语音、虚拟形象与屏幕共享四种模式。

作者 johnpatternai22 次安装8 星标

把自然语言描述转为结构化 JSON,并由 mcp-diagram-generator MCP 服务生成 Draw.io、Mermaid 或 Excalidraw 图表文件。

作者 nssa.io1.0k 次安装47 星标

从 AdMapix API 拉取广告创意、应用、榜单和收入预估等数据,原样返回结构化 JSON。

作者 fly0pants4.3k 次安装296 星标

在本地磁盘以分类纯 Markdown 文件保存需要长期留存的事实,与智能体内置记忆并存。

作者 Iván559 次安装18 星标

诊断生产力系统反复失效的根因,给出最小干预——容量测算、瓶颈定位、可靠的本地记录。

作者 Iván855 次安装69 星标

hith3sh 的更多技能

浏览全部技能

通过 OAuth 认证调用 Google 日历 REST 接口,读写日程与可用时间。

作者 hith3sh81 次安装33 星标

Manage Facebook Pages, posts, comments, messages, and insights via the Facebook Graph API. Use this skill when users want to post content, read engagement metrics, moderate comments, or automate Facebook Page workflows from chat.

作者 hith3sh108 次安装33 星标

Manage Instagram Business and Creator accounts via the Instagram Graph API. Publish posts and carousels, retrieve media and insights, moderate comments, send DMs, and manage story content. Use this skill when users want to manage Instagram content, analyze engagement, or automate social media workflows.

作者 hith3sh84 次安装35 星标

Manage LinkedIn presence via the LinkedIn API. Create posts and articles, manage comments, handle media uploads, search ad targeting entities, and retrieve user profile and image data.

作者 hith3sh87 次安装32 星标

Manage Reddit posts, comments, subreddits, users, moderation, and community workflows via the Reddit API. Use when users want to search subreddits, inspect posts, submit content, manage comments, or automate moderation actions.

作者 hith3sh80 次安装33 星标

Work with GitHub repositories, issues, pull requests, commits, branches, releases, and workflows via the GitHub REST and GraphQL APIs. Use this skill when us...

作者 Jay87 次安装32 星标