Google Super

GOOGLESUPER_GET_ROUTE

Calculates one or more routes between two specified locations. Uses various travel modes and preferences; addresses must be resolvable by Google Maps.

Remote googlesuper

Other tools also called GOOGLESUPER_GET_ROUTE? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "units": {
      "enum": [
        "METRIC",
        "IMPERIAL"
      ],
      "type": "string",
      "title": "Units",
      "default": "IMPERIAL",
      "examples": [
        "IMPERIAL",
        "METRIC"
      ],
      "description": "Unit system (e.g., 'METRIC' for kilometers, 'IMPERIAL' for miles) for displaying distances."
    },
    "fieldMask": {
      "type": "string",
      "title": "Field Mask",
      "default": "routes.distanceMeters,routes.duration,routes.polyline.encodedPolyline",
      "examples": [
        "routes.distanceMeters,routes.duration"
      ],
      "description": "Comma-separated list of `Route` object fields to include in the response (e.g., 'routes.distanceMeters,routes.duration') for efficiency."
    },
    "travelMode": {
      "enum": [
        "DRIVE",
        "BICYCLE",
        "WALK",
        "TWO_WHEELER",
        "TRANSIT"
      ],
      "type": "string",
      "title": "Travel Mode",
      "default": "DRIVE",
      "examples": [
        "DRIVE",
        "BICYCLE",
        "WALK"
      ],
      "description": "Mode of transportation for the route."
    },
    "languageCode": {
      "type": "string",
      "title": "Language Code",
      "default": "en-US",
      "examples": [
        "en-US",
        "es",
        "fr"
      ],
      "description": "BCP-47 language code (e.g., 'en-US', 'es') for textual information like navigation instructions."
    },
    "origin_address": {
      "type": "string",
      "title": "Origin Address",
      "examples": [
        "1600 Amphitheatre Parkway, Mountain View, CA"
      ],
      "description": "Starting point address or place name for the route calculation."
    },
    "routingPreference": {
      "enum": [
        "ROUTING_PREFERENCE_UNSPECIFIED",
        "TRAFFIC_UNAWARE",
        "TRAFFIC_AWARE",
        "TRAFFIC_AWARE_OPTIMAL"
      ],
      "type": "string",
      "title": "Routing Preference",
      "examples": [
        "TRAFFIC_AWARE",
        "TRAFFIC_UNAWARE"
      ],
      "description": "Specifies routing preference: `TRAFFIC_UNAWARE` (fastest, ignores traffic), `TRAFFIC_AWARE` (considers traffic, optimized), `TRAFFIC_AWARE_OPTIMAL` (most accurate traffic-based routing), or `ROUTING_PREFERENCE_UNSPECIFIED` (behavior similar to `TRAFFIC_UNAWARE`). Cannot be set when travelMode is WALK, BICYCLE, or TRANSIT - must be omitted for these modes."
    },
    "destination_address": {
      "type": "string",
      "title": "Destination Address",
      "examples": [
        "85 10th Ave, New York, NY"
      ],
      "description": "Destination point address or place name for the route calculation."
    },
    "computeAlternativeRoutes": {
      "type": "boolean",
      "title": "Compute Alternative Routes",
      "default": false,
      "description": "Computes and returns alternative routes if true."
    },
    "routeModifiers_avoidTolls": {
      "type": "boolean",
      "title": "Route Modifiers Avoid Tolls",
      "default": false,
      "description": "Attempts to avoid toll roads if true."
    },
    "routeModifiers_avoidFerries": {
      "type": "boolean",
      "title": "Route Modifiers Avoid Ferries",
      "default": false,
      "description": "Attempts to avoid ferries if true."
    },
    "routeModifiers_avoidHighways": {
      "type": "boolean",
      "title": "Route Modifiers Avoid Highways",
      "default": false,
      "description": "Attempts to avoid highways if true."
    }
  }
}