Graphhopper
graphhopperGraphHopper Directions API provides enterprise-grade routing services, including route planning, optimization, geocoding, and more, for various vehicle types.
Acciones disponibles (8)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Capacity ClusteringGRAPHHOPPER_CLUSTER_POSTAcciónTool to solve capacity clustering problem. Use when assigning a set of customers to clusters to minimize total distance synchronously.
GRAPHHOPPER_CLUSTER_POSTAcciónTool to solve capacity clustering problem. Use when assigning a set of customers to clusters to minimize total distance synchronously.
Parámetros de entrada
clustersobject[]Explicit cluster definitions (optional).
customersobject[]ObligatorioList of customers to assign to clusters.
configurationobjectObligatorioRouting and clustering settings.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
GraphHopper GeocodingGRAPHHOPPER_GEOCODE_GETAcciónTool to perform forward or reverse geocoding. Use when converting between textual addresses and latitude/longitude coordinates.
GRAPHHOPPER_GEOCODE_GETAcciónTool to perform forward or reverse geocoding. Use when converting between textual addresses and latitude/longitude coordinates.
Parámetros de entrada
qstringText to geocode (forward geocoding). Required when reverse=false; must be omitted if reverse=true.
keystringObligatorioYour GraphHopper API key
bboxstringBounding box 'minLon,minLat,maxLon,maxLat'. Requires reverse=false. Only provider=default.
zoomnumberMap-like zoom level controlling focus radius. Only provider=default.
debugbooleanPretty-print the output. Default false.
limitintegerMaximum number of results. Default 5.
pointstringCoordinate 'lat,lon'. Required when reverse=true; for forward geocoding, acts as location bias.
boundsstringBounds 'minLon,minLat,maxLon,maxLat'. For nominatim or opencagedata.
localestringenumLocale of results. Default 'en'.
endefrradiusnumberSearch radius. Default: km for provider=default when reverse=true; meters for provider=gisgraphy.
osm_tagstring[]OSM tags to filter/include or exclude, e.g., 'tourism:museum' or '!tourism:museum'. Only provider=default.
reversebooleanSet to true for reverse geocoding. Default false.
providerstringenumAlternative geocoding provider.
defaultnominatimgisgraphyopencagedatacountrycodestringISO 3166-1 alpha-2 country filter. For nominatim, gisgraphy, or opencagedata.
autocompletebooleanEnable autocomplete (only for provider=gisgraphy and reverse=false).
location_bias_scalenumberLocation bias scale between 0.0 and 1.0. Only provider=default.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get IsochroneGRAPHHOPPER_ISOCHRONE_GETAcciónTool to compute isochrone polygons for a given point. Use when you need to determine areas reachable within time or distance constraints.
GRAPHHOPPER_ISOCHRONE_GETAcciónTool to compute isochrone polygons for a given point. Use when you need to determine areas reachable within time or distance constraints.
Parámetros de entrada
pointstringObligatorioStart location as 'lat,lon', e.g., '52.529407,13.397634'
bucketsintegerNumber of isochrone buckets (optional)
profilestringRouting profile, e.g., 'car', 'bike', 'foot'
time_limitintegerTravel time limit in seconds (optional)
reverse_flowbooleanCompute reverse flow if true
distance_limitintegerTravel distance limit in meters (optional)
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Calculate MatrixGRAPHHOPPER_MATRIX_POSTAcciónTool to calculate distance, time, or weight matrices via POST. Use when you have multiple origins/destinations or a symmetric point set and need a single batch request.
GRAPHHOPPER_MATRIX_POSTAcciónTool to calculate distance, time, or weight matrices via POST. Use when you have multiple origins/destinations or a symmetric point set and need a single batch request.
Parámetros de entrada
pointsarray[]Coordinates for symmetric matrix as [longitude, latitude].
profilestringObligatorioRouting profile ID (e.g. 'car', 'bike', 'foot').
curbsidesstring[]Curbside per point ('any','left','right') for symmetrical.
fail_fastbooleanIf false, return null for unreachable entries and include hints.
to_pointsarray[]Destination coordinates as [longitude, latitude]. Provide with from_points.
out_arraysstring[]ObligatorioWhich matrices to include.
from_pointsarray[]Origin coordinates as [longitude, latitude]. Provide with to_points.
point_hintsstring[]Hint per point for snapping preference (symmetrical).
to_curbsidesstring[]Curbside per destination ('any','left','right').
from_curbsidesstring[]Curbside per origin ('any','left','right').
to_point_hintsstring[]Hint per destination for snapping preference.
from_point_hintsstring[]Hint per origin for snapping preference.
snap_preventionsstring[]Feature types to avoid for snapping (e.g. 'toll', 'ferry').
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Custom ProfilesGRAPHHOPPER_PROFILES_GETAcciónTool to retrieve a list of all user-defined routing profiles. Use when you need to list custom profiles.
GRAPHHOPPER_PROFILES_GETAcciónTool to retrieve a list of all user-defined routing profiles. Use when you need to list custom profiles.
Parámetros de entrada
keystringObligatorioGraphHopper API key for authentication
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
POST RouteGRAPHHOPPER_ROUTE_POSTAcciónTool to calculate complex routes via POST /route. Use when you need advanced route planning with custom parameters.
GRAPHHOPPER_ROUTE_POSTAcciónTool to calculate complex routes via POST /route. Use when you need advanced route planning with custom parameters.
Parámetros de entrada
debugbooleanEnable formatted debug output
localestringLocale for turn instructions
pointsarray[]ObligatorioOrdered list of [lon, lat] pairs for route waypoints; at least two points required
detailsstring[]List of path detail keys (e.g., 'street_name','surface','max_speed')
profilestringObligatorioVehicle profile (e.g., 'car', 'bike', 'foot')
headingsinteger[]Preferred headings in degrees; requires ch.disable=true
optimizebooleanReorder points to minimize travel time
algorithmstringenumSpecial routing mode; requires ch.disable=true
round_tripalternative_routecurbsidesstring[]Curbside to approach/leave each point
elevationbooleanInclude altitude in geometry
ch.disablebooleanEnable flexible mode for custom_model and advanced options
round_tripobjectParameters for round trip; requires algorithm='round_trip'
calc_pointsbooleanInclude full route geometry
point_hintsstring[]Optional street hints; one per point
custom_modelobjectCustom routing rules; requires ch.disable=true
instructionsbooleanInclude turn-by-turn instructions
pass_throughbooleanAvoid u-turns at via points; requires ch.disable=true
points_encodedbooleanUse polyline encoding for geometry
heading_penaltyintegerPenalty (s) for deviating from heading; requires ch.disable=true
snap_preventionsstring[]Road types to avoid during snapping
alternative_routeobjectParameters for alternative routes; requires algorithm='alternative_route'
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Upload GPX FileGRAPHHOPPER_UPLOAD_GPX_FILEAcciónTool to upload a GPX file to a public file hosting endpoint. Returns a public URL which can be used where a 's3key' is required.
GRAPHHOPPER_UPLOAD_GPX_FILEAcciónTool to upload a GPX file to a public file hosting endpoint. Returns a public URL which can be used where a 's3key' is required.
Parámetros de entrada
fileobjectObligatorioGPX file with name and base64-encoded content
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
GraphHopper VRP POSTGRAPHHOPPER_VRP_POSTAcciónTool to initiate VRP optimization. Use when you need to solve vehicle routing problems synchronously.
GRAPHHOPPER_VRP_POSTAcciónTool to initiate VRP optimization. Use when you need to solve vehicle routing problems synchronously.
Parámetros de entrada
servicesobject[]One-location service orders (pickup/delivery stops)
vehiclesobject[]ObligatorioList of at least one vehicle definition
algorithmobjectDeprecated – use `objectives` instead (legacy algorithms)
relationsobject[]Custom relationships (e.g., same-route grouping)
shipmentsobject[]Two-location shipments with pickup and delivery
objectivesobject[]Objective functions to minimize
configurationobjectRouting and optimization configuration
cost_matricesobject[]Custom time/distance matrices
vehicle_typesobject[]Definitions of vehicle types assignable via type_id
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not