Geometría de un recorrido
get_route_shapeRetrieve the geometric shape of a transit route as [longitude, latitude] coordinates using a route ID, with an optional direction parameter to distinguish outbound and inbound paths.
Instructions
Geometría (shape) de un recorrido como coordenadas [lon, lat].
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"route_id": "<route_id>"
},
"name": "get_route_shape"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| route_id | Yes | ||
| direction | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||