KosmoKrator

other

Google Maps CLI for Cron Jobs

Use the Google Maps CLI for cron jobs with headless JSON commands, schema discovery, credentials, and permission controls.

7 functions 7 read 0 write API key auth

Google Maps CLI for Cron Jobs

Schedule repeatable integration workflows from cron while keeping credentials in KosmoKrator config.

Use the headless CLI from cron when an operation should run without an interactive agent session. 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 Cron Jobs
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

FunctionTypeParametersDescription
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

Related Google Maps CLI Pages