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.
| Step 1: Install | Step 2: Pair Account | Step 3: Connect Google Maps |
|---|---|---|
| :---: | :---: | :---: |
| !Install | !Pair | App-specific connection GIF coming soon |
| Run the install command in OpenClaw | Sign in and approve the device | Open the dashboard and connect Google Maps |
┌─────────────────┐ ┌──────────────┐ ┌──────────────────┐
│ 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 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."
# 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"}'
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.
clawlink_begin_pairing if it is not configured yet.clawlink_list_integrations to verify the connection is active.clawlink_list_integrations
Response: Returns all connected integrations. Look for google-maps in the list.
clawlink_list_tools --integration google-maps
Response: Returns the live tool catalog for Google Maps.
If Google Maps tools are missing or the connection shows an error:
clawlink_list_integrations to verifyclawlink_list_tools --integration google-maps| Tool | Description | Mode |
|---|---|---|
| ------ | ------------- | ------ |
googlemaps_search_places | Search for places by text query, category, or name | Read |
googlemaps_nearby_search | Find places near a location within a radius | Read |
googlemaps_place_details | Get detailed information about a specific place | Read |
googlemaps_find_place | Find a place from a text query or phone number | Read |
googlemaps_autocomplete | Get place suggestions as the user types | Read |
| Tool | Description | Mode |
|---|---|---|
| ------ | ------------- | ------ |
googlemaps_geocode | Convert an address to latitude/longitude coordinates | Read |
googlemaps_reverse_geocode | Convert coordinates back to a human-readable address | Read |
| Tool | Description | Mode |
|---|---|---|
| ------ | ------------- | ------ |
googlemaps_directions | Get directions between origin and destination with multiple modes | Read |
googlemaps_distance_matrix | Calculate distances and travel times between multiple origins and destinations | Read |
googlemaps_route_matrix | Get route information for multiple origin-destination pairs | Read |
| Tool | Description | Mode |
|---|---|---|
| ------ | ------------- | ------ |
googlemaps_elevation | Get elevation data for locations on the earth | Read |
googlemaps_elevation_along_path | Get elevation data along a path | Read |
| Tool | Description | Mode |
|---|---|---|
| ------ | ------------- | ------ |
googlemaps_timezone | Get the time zone for a location | Read |
| Tool | Description | Mode |
|---|---|---|
| ------ | ------------- | ------ |
googlemaps_snap_to_roads | Snap GPS points to the nearest road segments | Read |
googlemaps_nearest_roads | Get the nearest road segments to given coordinates | Read |
| Tool | Description | Mode |
|---|---|---|
| ------ | ------------- | ------ |
googlemaps_geolocate | Get a device's location from cell towers and WiFi nodes | Read |
| Tool | Description | Mode |
|---|---|---|
| ------ | ------------- | ------ |
googlemaps_static_maps | Generate a static map image with markers and paths | Read |
clawlink_call_tool --tool "googlemaps_search_places" \
--params '{
"query": "Italian restaurant",
"location": {"latitude": 37.7749, "longitude": -122.4194},
"radius": 1000
}'
clawlink_call_tool --tool "googlemaps_geocode" \
--params '{
"address": "1 Apple Park Way, Cupertino, CA 95014"
}'
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"}]
}'
clawlink_call_tool --tool "googlemaps_distance_matrix" \
--params '{
"origins": ["San Francisco, CA", "Oakland, CA"],
"destinations": ["Los Angeles, CA", "San Diego, CA"],
"mode": "driving"
}'
clawlink_call_tool --tool "googlemaps_place_details" \
--params '{
"place_id": "YOUR_PLACE_ID",
"fields": ["name", "formatted_address", "rating", "reviews", "opening_hours"]
}'
clawlink_call_tool --tool "googlemaps_reverse_geocode" \
--params '{
"location": {"latitude": 37.4220, "longitude": -122.0841}
}'
clawlink_list_integrations to confirm Google Maps is connected.clawlink_list_tools --integration google-maps to see the live catalog.clawlink_search_tools with a short query and integration google-maps.┌─────────────────────────────────────────────────────────────┐
│ 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 │
└─────────────────────────────────────────────────────────────┘
clawlink_describe_tool first.whenToUse, askBefore, safeDefaults, examples, and followups to shape the call.clawlink_preview_tool first.clawlink_call_tool. Pass confirmation only after the preview matches the user's intent.snap_to_roads requires a Google Maps Roads API-enabled project.| Status / Error | Meaning |
|---|---|
| ---------------- | --------- |
| Tool not found | The tool name does not exist in the current catalog. Verify with clawlink_list_tools --integration google-maps. |
| Missing connection | Google Maps is not connected. Direct the user to https://claw-link.dev/dashboard?add=google-maps. |
NOT_FOUND | Place or location does not exist. Check the place_id or query. |
INVALID_ARGUMENT | Invalid parameter or missing required field. Review the tool schema with clawlink_describe_tool. |
OVER_QUERY_LIMIT | API quota exceeded. Wait and retry, or check Google Cloud quotas. |
| Write rejected | User did not confirm a write action. Always confirm before executing writes. |
```bash
openclaw plugins list
```
/new as a standalone message to reload the catalog.```bash
openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json
openclaw gateway restart
```
/new again and retry.google-maps.clawlink_describe_tool to verify parameter names and types before calling.clawlink_preview_tool first.Powered by ClawLink — an integration hub for OpenClaw
共 2 个版本