find_routes_between_stops
Find all bus routes serving both of two specified stops. Enter stops by NaPTAN code or name to discover shared routes.
Instructions
Find all bus routes that serve BOTH of the given stops. Stops can be specified by NaPTAN code or by name.
Parameters: stop_a: First stop (NaPTAN code or name substring). stop_b: Second stop (NaPTAN code or name substring).
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": {
"stop_a": "<stop_a>",
"stop_b": "<stop_b>"
},
"name": "find_routes_between_stops"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stop_a | Yes | ||
| stop_b | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |