You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: implement avoid_highways and avoid_tolls on route planner (#80)
Add drive-only avoid_tolls and avoid_highways options to maps_directions, maps_distance_matrix, and maps_plan_route (service-level routeModifiers with non-driving guard). Also fix CLI exec output truncation for large responses (e.g. static maps) by replacing console.log+process.exit with process.stdout.write+process.exitCode.
Co-authored-by: André Herculano <228650+andresilveirah@users.noreply.github.com>
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,8 +68,8 @@ Special thanks to [@junyinnnn](https://github.com/junyinnnn) for helping add sup
68
68
|`maps_place_details`| Get full details for a place by its place_id — reviews, phone, website, hours. Optional `maxPhotos` param returns photo URLs. |
69
69
|`maps_geocode`| Convert an address or landmark name into GPS coordinates. |
70
70
|`maps_reverse_geocode`| Convert GPS coordinates into a street address. |
71
-
|`maps_distance_matrix`| Calculate travel distances and times between multiple origins and destinations. |
72
-
|`maps_directions`| Get step-by-step navigation between two points with route details. |
71
+
|`maps_distance_matrix`| Calculate travel distances and times between multiple origins and destinations. Driving mode supports `avoid_tolls` and `avoid_highways`. |
72
+
|`maps_directions`| Get step-by-step navigation between two points with route details. Driving mode supports `avoid_tolls` and `avoid_highways`. |
73
73
|`maps_elevation`| Get elevation (meters above sea level) for geographic coordinates. |
74
74
|`maps_timezone`| Get timezone ID, name, UTC/DST offsets, and local time for coordinates. |
75
75
|`maps_weather`| Get current weather conditions or forecast — temperature, humidity, wind, UV, precipitation. |
@@ -79,7 +79,7 @@ Special thanks to [@junyinnnn](https://github.com/junyinnnn) for helping add sup
79
79
|`maps_search_along_route`| Search for places along a route between two points — ranked by minimal detour time. |
80
80
|**Composite Tools**||
81
81
|`maps_explore_area`| Explore what's around a location — searches multiple place types and gets details in one call. |
82
-
|`maps_plan_route`| Plan an optimized multi-stop route — uses Routes API waypoint optimization (up to 25 stops) for efficient ordering. |
82
+
|`maps_plan_route`| Plan an optimized multi-stop route — uses Routes API waypoint optimization (up to 25 stops) for efficient ordering. Driving mode supports `avoid_tolls` and `avoid_highways`. |
|`maps_local_rank_tracker`| Track a business's local search ranking across a geographic grid — like LocalFalcon. Supports up to 3 keywords for batch scanning. Returns rank at each point, top-3 competitors, and metrics (ARP, ATRP, SoLV). |
Copy file name to clipboardExpand all lines: skills/google-maps/SKILL.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,8 +50,8 @@ Without this Skill, the agent can only guess or refuse when asked "how do I get
50
50
### Routing & Distance
51
51
| Tool | When to use | Example |
52
52
|------|-------------|---------|
53
-
|`maps_directions`| How to get from A to B| "Route from Taipei Main Station to the airport" |
54
-
|`maps_distance_matrix`| Compare distances across multiple points| "Which of these 3 hotels is closest to the airport?" |
53
+
|`maps_directions`| How to get from A to B, including drive-only avoid-tolls/highways controls | "Route from Taipei Main Station to airport avoiding tolls" |
54
+
|`maps_distance_matrix`| Compare distances across multiple points, including drive-only avoid-tolls/highways controls | "Which of these 3 hotels is closest to airport without highways?" |
55
55
|`maps_search_along_route`| Find places along a route (meals, stops) ranked by detour time | "Restaurants between Fushimi Inari and Kiyomizu-dera" |
56
56
57
57
### Environment
@@ -71,7 +71,7 @@ Without this Skill, the agent can only guess or refuse when asked "how do I get
71
71
| Tool | When to use | Example |
72
72
|------|-------------|---------|
73
73
|`maps_explore_area`| Overview of a neighborhood | "What's around Tokyo Tower?" |
74
-
|`maps_plan_route`| Multi-stop optimized itinerary (Routes API waypoint optimization, up to 25 stops) | "Visit these 5 places efficiently" |
74
+
|`maps_plan_route`| Multi-stop optimized itinerary (Routes API waypoint optimization, up to 25 stops) with drive-only avoid-tolls/highways controls | "Visit these 5 places efficiently without tolls" |
75
75
|`maps_compare_places`| Side-by-side comparison | "Which ramen shop near Shibuya?" |
76
76
|`maps_local_rank_tracker`| Local SEO grid rank tracking | "How does this dentist rank across the area?" |
0 commit comments