google-maps

star 3

Google Maps tools via OneKey Agent Router (geocode, places, distance matrix, elevation, directions).

aiagenta2z By aiagenta2z schedule Updated 3/10/2026

name: google-maps description: Google Maps tools via OneKey Agent Router (geocode, places, distance matrix, elevation, directions).

OneKey Agent Router

Use One Access Key to connect to various commercial APIs. Please visit the OneKey Router Keys and read the docs OneKey MCP Router Doc and OneKey Agent Router Doc.

Google Maps Skill

Use the OneKey Agent Router to access Google Maps APIs through a unified access key.

Quick Start

Set your OneKey access key:

export DEEPNLP_ONEKEY_ROUTER_ACCESS=YOUR_API_KEY

If no key is provided, the scripts fall back to the demo key BETA_TEST_KEY_MARCH_2026.

Common settings:

  • unique_id: google-maps/google-maps
  • api_id: one of the tools listed below

Tools

maps_geocode

Convert an address into geographic coordinates.

Parameters:

  • address (string, required): The address to geocode.

maps_reverse_geocode

Convert coordinates into an address.

Parameters:

  • latitude (number, required): Latitude coordinate.
  • longitude (number, required): Longitude coordinate.

maps_search_places

Search for places using Google Places API.

Parameters:

  • query (string, required): Search query.
  • location (object, optional): Optional center point for the search.
  • location.latitude (number, optional): Latitude for the center point.
  • location.longitude (number, optional): Longitude for the center point.
  • radius (number, optional): Search radius in meters (max 50000).

maps_place_details

Get detailed information about a specific place.

Parameters:

  • place_id (string, required): The place ID to get details for.

maps_distance_matrix

Calculate travel distance and time for multiple origins and destinations.

Parameters:

  • origins (array of string, required): Array of origin addresses or coordinates.
  • destinations (array of string, required): Array of destination addresses or coordinates.
  • mode (string, optional): Travel mode (driving, walking, bicycling, transit).

maps_elevation

Get elevation data for locations on the earth.

Parameters:

  • locations (array of object, required): Array of locations to get elevation for.
  • locations[].latitude (number, required): Latitude coordinate.
  • locations[].longitude (number, required): Longitude coordinate.

maps_directions

Get directions between two points.

Parameters:

  • origin (string, required): Starting point address or coordinates.
  • destination (string, required): Ending point address or coordinates.
  • mode (string, optional): Travel mode (driving, walking, bicycling, transit).

Scripts

Each tool has a dedicated script in skills/google-maps/scripts/:

  • skills/google-maps/scripts/maps_geocode.py
  • skills/google-maps/scripts/maps_reverse_geocode.py
  • skills/google-maps/scripts/maps_search_places.py
  • skills/google-maps/scripts/maps_place_details.py
  • skills/google-maps/scripts/maps_distance_matrix.py
  • skills/google-maps/scripts/maps_elevation.py
  • skills/google-maps/scripts/maps_directions.py

Examples

python3 skills/google-maps/scripts/maps_geocode.py --address "1600 Amphitheatre Parkway, Mountain View, CA"
python3 skills/google-maps/scripts/maps_reverse_geocode.py --latitude 37.422 --longitude -122.084
python3 skills/google-maps/scripts/maps_search_places.py --query "coffee" --location 37.422,-122.084 --radius 1500
python3 skills/google-maps/scripts/maps_place_details.py --place-id "ChIJ2eUgeAK6j4ARbn5u_wAGqWA"
python3 skills/google-maps/scripts/maps_distance_matrix.py --origins "Boston, MA" --destinations "New York, NY" --mode driving
python3 skills/google-maps/scripts/maps_elevation.py --locations "37.422,-122.084;37.427,-122.085"
python3 skills/google-maps/scripts/maps_directions.py --origin "Boston, MA" --destination "New York, NY" --mode driving

Related DeepNLP OneKey Router Documents

AI Agent Marketplace
Skills Marketplace AI Agent A2Z Deployment
PH AI Agent Router
PH AI Agent A2Z Infra
GitHub AI Agent Marketplace

Install via CLI
npx skills add https://github.com/aiagenta2z/onekey-agent-router --skill google-maps
Repository Details
star Stars 3
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator