MCP TMAP Server

publicTransitRoutes

Retrieve public transit routes from start to destination with details on fare, travel time, transfers, and distances. Specify coordinates, language, and optional search time for accurate routing.

Instructions

Retrieves public transportation routes from start to destination.

Args: startLon (str): longitude of the starting point (WSG84). startLat (str): latitude of the starting point (WSG84). destLon (str): longitude of the destination (WSG84). destLat (str): latitude of the destination (WSG84). language (int): language of the route; 0 for Korean and 1 for English. searchTime (str, optional): Sets the time for the route to be searched. Used as information to indicate whether transportation is in operation. See [service] in the response for the operation status.

Returns: route information

  • itineraries: route details
    • fare: total fare
    • totalTime: in seconds
    • transferCount:
    • totalWalkDistance: in meters
    • totalDistance: in meters
    • totalWalkTime: in seconds
    • legs: legs in the route
      • distance: in meters
      • sectionTime: in seconds
      • mode: transportation mode
      • route: transportation route
      • start: starting point of the leg
      • end: destination of the leg

Input Schema

NameRequiredDescriptionDefault
destLatYes
destLonYes
languageNo
searchTimeNo
startLatYes
startLonYes

Input Schema (JSON Schema)

{ "properties": { "destLat": { "title": "Destlat", "type": "string" }, "destLon": { "title": "Destlon", "type": "string" }, "language": { "default": 0, "title": "Language", "type": "integer" }, "searchTime": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Searchtime" }, "startLat": { "title": "Startlat", "type": "string" }, "startLon": { "title": "Startlon", "type": "string" } }, "required": [ "startLon", "startLat", "destLon", "destLat" ], "title": "publicTransitRoutesArguments", "type": "object" }

You must be authenticated.

Other Tools from MCP TMAP Server

Related Tools

    ID: lihyob8aeo