other
Google Maps CLI for Headless Automation
Use the Google Maps CLI for headless automation with headless JSON commands, schema discovery, credentials, and permission controls.
7 functions 7 read 0 write API key auth
Google Maps CLI for Headless Automation
Use KosmoKrator as a non-interactive integration runtime for local automations and wrappers.
Use headless automation when another tool needs a stable local command surface. The Google Maps CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# Google Maps CLI for Headless Automation
kosmokrator integrations:configure google-maps --set api_key="$GOOGLE_MAPS_API_KEY" --enable --read allow --write ask --json
kosmo integrations:call google-maps.google_maps_geocode_address '{"address":"example_address","components":"example_components","region":"example_region","language":"example_language"}' --json Discovery Before Execution
Agents and scripts can inspect Google Maps docs and schemas before choosing a function.
kosmo integrations:docs google-maps --json
kosmo integrations:docs google-maps.google_maps_geocode_address --json
kosmo integrations:schema google-maps.google_maps_geocode_address --json
kosmo integrations:search "Google Maps" --json
kosmo integrations:list --json Useful Google Maps CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
google-maps.google_maps_geocode_address | Read | address, components, region, language | Convert a street address into geographic coordinates and place details using Google Maps geocoding. |
google-maps.google_maps_reverse_geocode | Read | latitude, longitude, components, language, result_type, location_type | Convert latitude and longitude coordinates into street addresses using Google Maps reverse geocoding. |
google-maps.google_maps_search_places | Read | query, location, radius, language, type, open_now, min_price, max_price | Search for places with a text query using Google Maps Places search. |
google-maps.google_maps_get_place_details | Read | place_id, fields, language, region, reviews_no_translations, reviews_sort | Get detailed information about a specific Google Maps place by Place ID. |
google-maps.google_maps_get_directions | Read | origin, destination, mode, waypoints, alternatives, avoid, language, units, departure_time, arrival_time, transit_mode, transit_routing_preference | Get directions between an origin and destination using Google Maps Directions API. |
google-maps.google_maps_get_distance_matrix | Read | origins, destinations, mode, language, units, departure_time, arrival_time, avoid, transit_mode, transit_routing_preference | Calculate travel distances and durations between multiple origins and destinations. |
google-maps.google_maps_get_current_user | Read | none | Get geolocation data for the current requester and verify Google Maps API credentials. |
Automation Notes
- Use
--jsonfor machine-readable output. - Keep credentials out of argv by using environment variables or stored KosmoKrator configuration.
- Configure read/write policy before unattended runs; use
--forceonly for trusted automation. - Use the MCP gateway instead when the agent needs dynamic tool discovery inside a conversation.