Server definition
- Hash
- sha256:e2e461dea8c9b05c125b149a8b6a4eda3a38c2f92460d75a0d165b2d8ea17bbb
- What it is
- What a remote MCP server returned when asked what it offers: 6 tools
The blob, as servednamed by its sha256
{
"instructions": "Use search_places, then resolve_place, before planning when the user gives place names instead of coordinates. search_places looks in Ghana unless you pass countryCode \"gb\" for England, Scotland or Wales. Prefer plan_trip for multimodal comparisons. Public transport means trotro in Ghana and timetabled buses in Great Britain. All tools are read-only and return estimates; never claim Sail booked, tracked, or cancelled a ride. Anonymous rate limits apply.",
"tools": [
{
"description": "Compare current ride-hailing prices and pickup times from the providers available through Sail.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"destination": {
"description": "Resolved destination place",
"properties": {
"address": {
"maxLength": 300,
"minLength": 1,
"type": "string"
},
"lat": {
"description": "Latitude in decimal degrees",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"lng": {
"description": "Longitude in decimal degrees",
"maximum": 180,
"minimum": -180,
"type": "number"
},
"name": {
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"placeId": {
"description": "Place ID returned by search_places",
"maxLength": 256,
"minLength": 1,
"type": "string"
}
},
"required": [
"lat",
"lng"
],
"type": "object"
},
"pickup": {
"description": "Resolved pickup place",
"properties": {
"address": {
"maxLength": 300,
"minLength": 1,
"type": "string"
},
"lat": {
"description": "Latitude in decimal degrees",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"lng": {
"description": "Longitude in decimal degrees",
"maximum": 180,
"minimum": -180,
"type": "number"
},
"name": {
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"placeId": {
"description": "Place ID returned by search_places",
"maxLength": 256,
"minLength": 1,
"type": "string"
}
},
"required": [
"lat",
"lng"
],
"type": "object"
}
},
"required": [
"pickup",
"destination"
],
"type": "object"
},
"name": "compare_rides",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"complete": {
"type": "boolean"
},
"optionCounts": {
"additionalProperties": false,
"properties": {
"returned": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"total": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"truncated": {
"type": "boolean"
}
},
"required": [
"total",
"returned",
"truncated"
],
"type": "object"
},
"options": {
"items": {
"additionalProperties": false,
"properties": {
"available": {
"type": "boolean"
},
"etaMinutes": {
"type": "number"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"price": {
"additionalProperties": false,
"properties": {
"amount": {
"type": "number"
},
"currency": {
"type": "string"
},
"originalAmount": {
"type": "number"
}
},
"type": "object"
},
"provider": {
"type": "string"
},
"type": {
"type": "string"
},
"vehicleType": {
"type": "string"
}
},
"required": [
"price",
"available"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"options",
"optionCounts",
"complete"
],
"type": "object"
}
},
{
"description": "Plan public transport with fares, walking legs, transfers, and boarding instructions: trotro in Ghana, or buses leaving now in England, Scotland and Wales. Bus times come from published timetables, not live tracking.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"destination": {
"description": "Destination coordinates",
"properties": {
"lat": {
"description": "Latitude in decimal degrees",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"lng": {
"description": "Longitude in decimal degrees",
"maximum": 180,
"minimum": -180,
"type": "number"
}
},
"required": [
"lat",
"lng"
],
"type": "object"
},
"pickup": {
"description": "Pickup coordinates",
"properties": {
"lat": {
"description": "Latitude in decimal degrees",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"lng": {
"description": "Longitude in decimal degrees",
"maximum": 180,
"minimum": -180,
"type": "number"
}
},
"required": [
"lat",
"lng"
],
"type": "object"
}
},
"required": [
"pickup",
"destination"
],
"type": "object"
},
"name": "plan_public_transport",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"complete": {
"type": "boolean"
},
"network": {
"description": "trotro in Ghana, or bus in Great Britain",
"enum": [
"trotro",
"bus"
],
"type": "string"
},
"routeCounts": {
"additionalProperties": false,
"properties": {
"direct": {
"additionalProperties": false,
"properties": {
"returned": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"total": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"truncated": {
"type": "boolean"
}
},
"required": [
"total",
"returned",
"truncated"
],
"type": "object"
},
"rideConnection": {
"additionalProperties": false,
"properties": {
"returned": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"total": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"truncated": {
"type": "boolean"
}
},
"required": [
"total",
"returned",
"truncated"
],
"type": "object"
}
},
"required": [
"direct",
"rideConnection"
],
"type": "object"
},
"routes": {
"items": {
"additionalProperties": false,
"properties": {
"arrivalTime": {
"type": "string"
},
"complete": {
"type": "boolean"
},
"currency": {
"type": "string"
},
"departureTime": {
"type": "string"
},
"destinationStop": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"durationRangeMinutes": {
"additionalProperties": false,
"properties": {
"max": {
"type": "number"
},
"min": {
"type": "number"
}
},
"type": "object"
},
"fareRange": {
"additionalProperties": false,
"properties": {
"max": {
"type": "number"
},
"min": {
"type": "number"
}
},
"required": [
"min",
"max"
],
"type": "object"
},
"hasThroughFare": {
"type": "boolean"
},
"id": {
"type": "string"
},
"isContinuation": {
"type": "boolean"
},
"originStop": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"segmentCounts": {
"additionalProperties": false,
"properties": {
"returned": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"total": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"truncated": {
"type": "boolean"
}
},
"required": [
"total",
"returned",
"truncated"
],
"type": "object"
},
"segments": {
"items": {
"additionalProperties": false,
"properties": {
"alightAt": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"arrivalTime": {
"description": "Timetabled bus arrival, ISO 8601",
"type": "string"
},
"boardAt": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"currency": {
"type": "string"
},
"departureTime": {
"description": "Timetabled bus departure, ISO 8601",
"type": "string"
},
"fare": {
"type": "number"
},
"fareBasis": {
"description": "How the bus fare was set: the operator's published single, a local flat fare, an estimate at England's national fare cap, or unavailable",
"enum": [
"operator-published",
"local-flat-fare",
"national-fare-cap-estimate",
"unavailable"
],
"type": "string"
},
"fareMin": {
"description": "Lowest listed bus fare when the operator lists several",
"type": "number"
},
"routeDestination": {
"type": "string"
},
"routeName": {
"type": "string"
}
},
"required": [
"boardAt",
"alightAt"
],
"type": "object"
},
"type": "array"
},
"stepCounts": {
"additionalProperties": false,
"properties": {
"returned": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"total": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"truncated": {
"type": "boolean"
}
},
"required": [
"total",
"returned",
"truncated"
],
"type": "object"
},
"steps": {
"items": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"distanceMeters": {
"type": "number"
},
"durationMinutes": {
"type": "number"
},
"instruction": {
"type": "string"
},
"roadCrossings": {
"items": {
"additionalProperties": false,
"properties": {
"confidence": {
"const": "high",
"type": "string"
},
"distanceFromStartMeters": {
"minimum": 0,
"type": "number"
},
"evidence": {
"enum": [
"mapped-crossing",
"short-road-traversal"
],
"type": "string"
},
"location": {
"additionalProperties": false,
"properties": {
"lat": {
"description": "Latitude in decimal degrees",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"lng": {
"description": "Longitude in decimal degrees",
"maximum": 180,
"minimum": -180,
"type": "number"
}
},
"required": [
"lat",
"lng"
],
"type": "object"
}
},
"required": [
"location",
"distanceFromStartMeters",
"evidence",
"confidence"
],
"type": "object"
},
"type": "array"
},
"roadCrossingsTotal": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"roadCrossingsTruncated": {
"type": "boolean"
},
"toStop": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"type": {
"const": "walk",
"type": "string"
},
"unverifiedEndpointMeters": {
"minimum": 0,
"type": "number"
}
},
"required": [
"type",
"toStop"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"alightAt": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"alightingRoadCrossing": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"confidence": {
"const": "high",
"type": "string"
},
"status": {
"const": "required",
"type": "string"
}
},
"required": [
"status",
"confidence"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"status": {
"const": "unknown",
"type": "string"
}
},
"required": [
"status"
],
"type": "object"
}
]
},
"boardAt": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"boardingRoadCrossing": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"confidence": {
"const": "high",
"type": "string"
},
"status": {
"const": "required",
"type": "string"
}
},
"required": [
"status",
"confidence"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"status": {
"const": "unknown",
"type": "string"
}
},
"required": [
"status"
],
"type": "object"
}
]
},
"currency": {
"type": "string"
},
"fare": {
"type": "number"
},
"instruction": {
"type": "string"
},
"route": {
"type": "string"
},
"stopCount": {
"type": "number"
},
"toward": {
"type": "string"
},
"type": {
"const": "ride",
"type": "string"
}
},
"required": [
"type",
"boardAt",
"alightAt"
],
"type": "object"
}
]
},
"type": "array"
},
"timeZone": {
"type": "string"
},
"totalFare": {
"type": "number"
},
"walkingDistanceFromDestinationKm": {
"type": "number"
},
"walkingDistanceToPickupKm": {
"type": "number"
},
"warnings": {
"additionalProperties": false,
"properties": {
"longWalkFromDestination": {
"type": "boolean"
},
"longWalkToPickup": {
"type": "boolean"
},
"totalWalkingLimitExceeded": {
"type": "boolean"
}
},
"required": [
"longWalkToPickup",
"longWalkFromDestination",
"totalWalkingLimitExceeded"
],
"type": "object"
}
},
"required": [
"durationRangeMinutes",
"isContinuation",
"hasThroughFare",
"originStop",
"destinationStop",
"segments",
"segmentCounts",
"steps",
"stepCounts",
"warnings",
"complete"
],
"type": "object"
},
"type": "array"
},
"routesRequiringRideConnection": {
"items": {
"additionalProperties": false,
"properties": {
"arrivalTime": {
"type": "string"
},
"complete": {
"type": "boolean"
},
"currency": {
"type": "string"
},
"departureTime": {
"type": "string"
},
"destinationStop": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"durationRangeMinutes": {
"additionalProperties": false,
"properties": {
"max": {
"type": "number"
},
"min": {
"type": "number"
}
},
"type": "object"
},
"fareRange": {
"additionalProperties": false,
"properties": {
"max": {
"type": "number"
},
"min": {
"type": "number"
}
},
"required": [
"min",
"max"
],
"type": "object"
},
"hasThroughFare": {
"type": "boolean"
},
"id": {
"type": "string"
},
"isContinuation": {
"type": "boolean"
},
"originStop": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"segmentCounts": {
"additionalProperties": false,
"properties": {
"returned": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"total": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"truncated": {
"type": "boolean"
}
},
"required": [
"total",
"returned",
"truncated"
],
"type": "object"
},
"segments": {
"items": {
"additionalProperties": false,
"properties": {
"alightAt": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"arrivalTime": {
"description": "Timetabled bus arrival, ISO 8601",
"type": "string"
},
"boardAt": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"currency": {
"type": "string"
},
"departureTime": {
"description": "Timetabled bus departure, ISO 8601",
"type": "string"
},
"fare": {
"type": "number"
},
"fareBasis": {
"description": "How the bus fare was set: the operator's published single, a local flat fare, an estimate at England's national fare cap, or unavailable",
"enum": [
"operator-published",
"local-flat-fare",
"national-fare-cap-estimate",
"unavailable"
],
"type": "string"
},
"fareMin": {
"description": "Lowest listed bus fare when the operator lists several",
"type": "number"
},
"routeDestination": {
"type": "string"
},
"routeName": {
"type": "string"
}
},
"required": [
"boardAt",
"alightAt"
],
"type": "object"
},
"type": "array"
},
"stepCounts": {
"additionalProperties": false,
"properties": {
"returned": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"total": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"truncated": {
"type": "boolean"
}
},
"required": [
"total",
"returned",
"truncated"
],
"type": "object"
},
"steps": {
"items": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"distanceMeters": {
"type": "number"
},
"durationMinutes": {
"type": "number"
},
"instruction": {
"type": "string"
},
"roadCrossings": {
"items": {
"additionalProperties": false,
"properties": {
"confidence": {
"const": "high",
"type": "string"
},
"distanceFromStartMeters": {
"minimum": 0,
"type": "number"
},
"evidence": {
"enum": [
"mapped-crossing",
"short-road-traversal"
],
"type": "string"
},
"location": {
"additionalProperties": false,
"properties": {
"lat": {
"description": "Latitude in decimal degrees",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"lng": {
"description": "Longitude in decimal degrees",
"maximum": 180,
"minimum": -180,
"type": "number"
}
},
"required": [
"lat",
"lng"
],
"type": "object"
}
},
"required": [
"location",
"distanceFromStartMeters",
"evidence",
"confidence"
],
"type": "object"
},
"type": "array"
},
"roadCrossingsTotal": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"roadCrossingsTruncated": {
"type": "boolean"
},
"toStop": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"type": {
"const": "walk",
"type": "string"
},
"unverifiedEndpointMeters": {
"minimum": 0,
"type": "number"
}
},
"required": [
"type",
"toStop"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"alightAt": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"alightingRoadCrossing": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"confidence": {
"const": "high",
"type": "string"
},
"status": {
"const": "required",
"type": "string"
}
},
"required": [
"status",
"confidence"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"status": {
"const": "unknown",
"type": "string"
}
},
"required": [
"status"
],
"type": "object"
}
]
},
"boardAt": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"boardingRoadCrossing": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"confidence": {
"const": "high",
"type": "string"
},
"status": {
"const": "required",
"type": "string"
}
},
"required": [
"status",
"confidence"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"status": {
"const": "unknown",
"type": "string"
}
},
"required": [
"status"
],
"type": "object"
}
]
},
"currency": {
"type": "string"
},
"fare": {
"type": "number"
},
"instruction": {
"type": "string"
},
"route": {
"type": "string"
},
"stopCount": {
"type": "number"
},
"toward": {
"type": "string"
},
"type": {
"const": "ride",
"type": "string"
}
},
"required": [
"type",
"boardAt",
"alightAt"
],
"type": "object"
}
]
},
"type": "array"
},
"timeZone": {
"type": "string"
},
"totalFare": {
"type": "number"
},
"walkingDistanceFromDestinationKm": {
"type": "number"
},
"walkingDistanceToPickupKm": {
"type": "number"
},
"warnings": {
"additionalProperties": false,
"properties": {
"longWalkFromDestination": {
"type": "boolean"
},
"longWalkToPickup": {
"type": "boolean"
},
"totalWalkingLimitExceeded": {
"type": "boolean"
}
},
"required": [
"longWalkToPickup",
"longWalkFromDestination",
"totalWalkingLimitExceeded"
],
"type": "object"
}
},
"required": [
"durationRangeMinutes",
"isContinuation",
"hasThroughFare",
"originStop",
"destinationStop",
"segments",
"segmentCounts",
"steps",
"stepCounts",
"warnings",
"complete"
],
"type": "object"
},
"type": "array"
},
"skipNote": {
"type": "string"
}
},
"required": [
"routes",
"routesRequiringRideConnection",
"routeCounts",
"complete",
"network"
],
"type": "object"
}
},
{
"description": "Compare ride-hailing with public transport: trotro in Ghana, or buses leaving now in England, Scotland and Wales. This is the default tool for multimodal trip planning.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"destination": {
"description": "Resolved destination place",
"properties": {
"address": {
"maxLength": 300,
"minLength": 1,
"type": "string"
},
"lat": {
"description": "Latitude in decimal degrees",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"lng": {
"description": "Longitude in decimal degrees",
"maximum": 180,
"minimum": -180,
"type": "number"
},
"name": {
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"placeId": {
"description": "Place ID returned by search_places",
"maxLength": 256,
"minLength": 1,
"type": "string"
}
},
"required": [
"lat",
"lng"
],
"type": "object"
},
"pickup": {
"description": "Resolved pickup place",
"properties": {
"address": {
"maxLength": 300,
"minLength": 1,
"type": "string"
},
"lat": {
"description": "Latitude in decimal degrees",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"lng": {
"description": "Longitude in decimal degrees",
"maximum": 180,
"minimum": -180,
"type": "number"
},
"name": {
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"placeId": {
"description": "Place ID returned by search_places",
"maxLength": 256,
"minLength": 1,
"type": "string"
}
},
"required": [
"lat",
"lng"
],
"type": "object"
}
},
"required": [
"pickup",
"destination"
],
"type": "object"
},
"name": "plan_trip",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"bus": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"data": {
"additionalProperties": false,
"properties": {
"complete": {
"type": "boolean"
},
"routeCounts": {
"additionalProperties": false,
"properties": {
"direct": {
"additionalProperties": false,
"properties": {
"returned": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"total": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"truncated": {
"type": "boolean"
}
},
"required": [
"total",
"returned",
"truncated"
],
"type": "object"
},
"rideConnection": {
"additionalProperties": false,
"properties": {
"returned": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"total": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"truncated": {
"type": "boolean"
}
},
"required": [
"total",
"returned",
"truncated"
],
"type": "object"
}
},
"required": [
"direct",
"rideConnection"
],
"type": "object"
},
"routes": {
"items": {
"additionalProperties": false,
"properties": {
"arrivalTime": {
"type": "string"
},
"complete": {
"type": "boolean"
},
"currency": {
"type": "string"
},
"departureTime": {
"type": "string"
},
"destinationStop": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"fareRange": {
"additionalProperties": false,
"properties": {
"max": {
"type": "number"
},
"min": {
"type": "number"
}
},
"required": [
"min",
"max"
],
"type": "object"
},
"id": {
"type": "string"
},
"originStop": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"segmentCounts": {
"additionalProperties": false,
"properties": {
"returned": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"total": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"truncated": {
"type": "boolean"
}
},
"required": [
"total",
"returned",
"truncated"
],
"type": "object"
},
"segments": {
"items": {
"additionalProperties": false,
"properties": {
"alightAt": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"arrivalTime": {
"description": "Timetabled bus arrival, ISO 8601",
"type": "string"
},
"boardAt": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"currency": {
"type": "string"
},
"departureTime": {
"description": "Timetabled bus departure, ISO 8601",
"type": "string"
},
"fare": {
"type": "number"
},
"fareBasis": {
"description": "How the bus fare was set: the operator's published single, a local flat fare, an estimate at England's national fare cap, or unavailable",
"enum": [
"operator-published",
"local-flat-fare",
"national-fare-cap-estimate",
"unavailable"
],
"type": "string"
},
"fareMin": {
"description": "Lowest listed bus fare when the operator lists several",
"type": "number"
},
"routeDestination": {
"type": "string"
},
"routeName": {
"type": "string"
}
},
"required": [
"boardAt",
"alightAt"
],
"type": "object"
},
"type": "array"
},
"timeZone": {
"type": "string"
},
"totalFare": {
"type": "number"
},
"transferCount": {
"type": "number"
},
"walkingDistanceFromDestinationKm": {
"type": "number"
},
"walkingDistanceToPickupKm": {
"type": "number"
},
"walkingUncertaintyNote": {
"type": "string"
}
},
"required": [
"originStop",
"destinationStop",
"segments",
"segmentCounts",
"complete"
],
"type": "object"
},
"type": "array"
},
"routesRequiringRideConnection": {
"items": {
"additionalProperties": false,
"properties": {
"arrivalTime": {
"type": "string"
},
"complete": {
"type": "boolean"
},
"currency": {
"type": "string"
},
"departureTime": {
"type": "string"
},
"destinationStop": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"fareRange": {
"additionalProperties": false,
"properties": {
"max": {
"type": "number"
},
"min": {
"type": "number"
}
},
"required": [
"min",
"max"
],
"type": "object"
},
"id": {
"type": "string"
},
"originStop": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"segmentCounts": {
"additionalProperties": false,
"properties": {
"returned": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"total": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"truncated": {
"type": "boolean"
}
},
"required": [
"total",
"returned",
"truncated"
],
"type": "object"
},
"segments": {
"items": {
"additionalProperties": false,
"properties": {
"alightAt": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"arrivalTime": {
"description": "Timetabled bus arrival, ISO 8601",
"type": "string"
},
"boardAt": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"currency": {
"type": "string"
},
"departureTime": {
"description": "Timetabled bus departure, ISO 8601",
"type": "string"
},
"fare": {
"type": "number"
},
"fareBasis": {
"description": "How the bus fare was set: the operator's published single, a local flat fare, an estimate at England's national fare cap, or unavailable",
"enum": [
"operator-published",
"local-flat-fare",
"national-fare-cap-estimate",
"unavailable"
],
"type": "string"
},
"fareMin": {
"description": "Lowest listed bus fare when the operator lists several",
"type": "number"
},
"routeDestination": {
"type": "string"
},
"routeName": {
"type": "string"
}
},
"required": [
"boardAt",
"alightAt"
],
"type": "object"
},
"type": "array"
},
"timeZone": {
"type": "string"
},
"totalFare": {
"type": "number"
},
"transferCount": {
"type": "number"
},
"walkingDistanceFromDestinationKm": {
"type": "number"
},
"walkingDistanceToPickupKm": {
"type": "number"
},
"walkingUncertaintyNote": {
"type": "string"
}
},
"required": [
"originStop",
"destinationStop",
"segments",
"segmentCounts",
"complete"
],
"type": "object"
},
"type": "array"
},
"skipNote": {
"type": "string"
}
},
"required": [
"routes",
"routesRequiringRideConnection",
"routeCounts",
"complete"
],
"type": "object"
},
"status": {
"enum": [
"complete",
"partial"
],
"type": "string"
}
},
"required": [
"status",
"data"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"error": {
"additionalProperties": false,
"properties": {
"code": {
"enum": [
"cancelled",
"timeout",
"unavailable"
],
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
},
"status": {
"const": "failed",
"type": "string"
}
},
"required": [
"status",
"error"
],
"type": "object"
}
],
"description": "Bus options, present only for trips within England, Scotland and Wales"
},
"rides": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"data": {
"additionalProperties": false,
"properties": {
"complete": {
"type": "boolean"
},
"optionCounts": {
"additionalProperties": false,
"properties": {
"returned": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"total": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"truncated": {
"type": "boolean"
}
},
"required": [
"total",
"returned",
"truncated"
],
"type": "object"
},
"options": {
"items": {
"additionalProperties": false,
"properties": {
"available": {
"type": "boolean"
},
"etaMinutes": {
"type": "number"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"price": {
"additionalProperties": false,
"properties": {
"amount": {
"type": "number"
},
"currency": {
"type": "string"
},
"originalAmount": {
"type": "number"
}
},
"type": "object"
},
"provider": {
"type": "string"
},
"type": {
"type": "string"
},
"vehicleType": {
"type": "string"
}
},
"required": [
"price",
"available"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"options",
"optionCounts",
"complete"
],
"type": "object"
},
"status": {
"enum": [
"complete",
"partial"
],
"type": "string"
}
},
"required": [
"status",
"data"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"error": {
"additionalProperties": false,
"properties": {
"code": {
"enum": [
"cancelled",
"timeout",
"unavailable"
],
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
},
"status": {
"const": "failed",
"type": "string"
}
},
"required": [
"status",
"error"
],
"type": "object"
}
]
},
"status": {
"enum": [
"complete",
"partial",
"failed"
],
"type": "string"
},
"trotro": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"data": {
"additionalProperties": false,
"properties": {
"complete": {
"type": "boolean"
},
"routeCounts": {
"additionalProperties": false,
"properties": {
"direct": {
"additionalProperties": false,
"properties": {
"returned": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"total": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"truncated": {
"type": "boolean"
}
},
"required": [
"total",
"returned",
"truncated"
],
"type": "object"
},
"rideConnection": {
"additionalProperties": false,
"properties": {
"returned": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"total": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"truncated": {
"type": "boolean"
}
},
"required": [
"total",
"returned",
"truncated"
],
"type": "object"
}
},
"required": [
"direct",
"rideConnection"
],
"type": "object"
},
"routes": {
"items": {
"additionalProperties": false,
"properties": {
"arrivalTime": {
"type": "string"
},
"complete": {
"type": "boolean"
},
"currency": {
"type": "string"
},
"departureTime": {
"type": "string"
},
"destinationStop": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"fareRange": {
"additionalProperties": false,
"properties": {
"max": {
"type": "number"
},
"min": {
"type": "number"
}
},
"required": [
"min",
"max"
],
"type": "object"
},
"id": {
"type": "string"
},
"originStop": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"segmentCounts": {
"additionalProperties": false,
"properties": {
"returned": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"total": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"truncated": {
"type": "boolean"
}
},
"required": [
"total",
"returned",
"truncated"
],
"type": "object"
},
"segments": {
"items": {
"additionalProperties": false,
"properties": {
"alightAt": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"arrivalTime": {
"description": "Timetabled bus arrival, ISO 8601",
"type": "string"
},
"boardAt": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"currency": {
"type": "string"
},
"departureTime": {
"description": "Timetabled bus departure, ISO 8601",
"type": "string"
},
"fare": {
"type": "number"
},
"fareBasis": {
"description": "How the bus fare was set: the operator's published single, a local flat fare, an estimate at England's national fare cap, or unavailable",
"enum": [
"operator-published",
"local-flat-fare",
"national-fare-cap-estimate",
"unavailable"
],
"type": "string"
},
"fareMin": {
"description": "Lowest listed bus fare when the operator lists several",
"type": "number"
},
"routeDestination": {
"type": "string"
},
"routeName": {
"type": "string"
}
},
"required": [
"boardAt",
"alightAt"
],
"type": "object"
},
"type": "array"
},
"timeZone": {
"type": "string"
},
"totalFare": {
"type": "number"
},
"transferCount": {
"type": "number"
},
"walkingDistanceFromDestinationKm": {
"type": "number"
},
"walkingDistanceToPickupKm": {
"type": "number"
},
"walkingUncertaintyNote": {
"type": "string"
}
},
"required": [
"originStop",
"destinationStop",
"segments",
"segmentCounts",
"complete"
],
"type": "object"
},
"type": "array"
},
"routesRequiringRideConnection": {
"items": {
"additionalProperties": false,
"properties": {
"arrivalTime": {
"type": "string"
},
"complete": {
"type": "boolean"
},
"currency": {
"type": "string"
},
"departureTime": {
"type": "string"
},
"destinationStop": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"fareRange": {
"additionalProperties": false,
"properties": {
"max": {
"type": "number"
},
"min": {
"type": "number"
}
},
"required": [
"min",
"max"
],
"type": "object"
},
"id": {
"type": "string"
},
"originStop": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"segmentCounts": {
"additionalProperties": false,
"properties": {
"returned": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"total": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"truncated": {
"type": "boolean"
}
},
"required": [
"total",
"returned",
"truncated"
],
"type": "object"
},
"segments": {
"items": {
"additionalProperties": false,
"properties": {
"alightAt": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"arrivalTime": {
"description": "Timetabled bus arrival, ISO 8601",
"type": "string"
},
"boardAt": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"currency": {
"type": "string"
},
"departureTime": {
"description": "Timetabled bus departure, ISO 8601",
"type": "string"
},
"fare": {
"type": "number"
},
"fareBasis": {
"description": "How the bus fare was set: the operator's published single, a local flat fare, an estimate at England's national fare cap, or unavailable",
"enum": [
"operator-published",
"local-flat-fare",
"national-fare-cap-estimate",
"unavailable"
],
"type": "string"
},
"fareMin": {
"description": "Lowest listed bus fare when the operator lists several",
"type": "number"
},
"routeDestination": {
"type": "string"
},
"routeName": {
"type": "string"
}
},
"required": [
"boardAt",
"alightAt"
],
"type": "object"
},
"type": "array"
},
"timeZone": {
"type": "string"
},
"totalFare": {
"type": "number"
},
"transferCount": {
"type": "number"
},
"walkingDistanceFromDestinationKm": {
"type": "number"
},
"walkingDistanceToPickupKm": {
"type": "number"
},
"walkingUncertaintyNote": {
"type": "string"
}
},
"required": [
"originStop",
"destinationStop",
"segments",
"segmentCounts",
"complete"
],
"type": "object"
},
"type": "array"
},
"skipNote": {
"type": "string"
}
},
"required": [
"routes",
"routesRequiringRideConnection",
"routeCounts",
"complete"
],
"type": "object"
},
"status": {
"enum": [
"complete",
"partial"
],
"type": "string"
}
},
"required": [
"status",
"data"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"error": {
"additionalProperties": false,
"properties": {
"code": {
"enum": [
"cancelled",
"timeout",
"unavailable"
],
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
},
"status": {
"const": "failed",
"type": "string"
}
},
"required": [
"status",
"error"
],
"type": "object"
}
]
}
},
"required": [
"status",
"rides",
"trotro"
],
"type": "object"
}
},
{
"description": "Plan trotro journeys in Ghana, including fares, walking legs, transfers, and boarding instructions. Prefer plan_public_transport, which also covers buses in Great Britain.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"destination": {
"description": "Destination coordinates",
"properties": {
"lat": {
"description": "Latitude in decimal degrees",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"lng": {
"description": "Longitude in decimal degrees",
"maximum": 180,
"minimum": -180,
"type": "number"
}
},
"required": [
"lat",
"lng"
],
"type": "object"
},
"pickup": {
"description": "Pickup coordinates",
"properties": {
"lat": {
"description": "Latitude in decimal degrees",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"lng": {
"description": "Longitude in decimal degrees",
"maximum": 180,
"minimum": -180,
"type": "number"
}
},
"required": [
"lat",
"lng"
],
"type": "object"
}
},
"required": [
"pickup",
"destination"
],
"type": "object"
},
"name": "plan_trotro_route",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"complete": {
"type": "boolean"
},
"routeCounts": {
"additionalProperties": false,
"properties": {
"direct": {
"additionalProperties": false,
"properties": {
"returned": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"total": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"truncated": {
"type": "boolean"
}
},
"required": [
"total",
"returned",
"truncated"
],
"type": "object"
},
"rideConnection": {
"additionalProperties": false,
"properties": {
"returned": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"total": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"truncated": {
"type": "boolean"
}
},
"required": [
"total",
"returned",
"truncated"
],
"type": "object"
}
},
"required": [
"direct",
"rideConnection"
],
"type": "object"
},
"routes": {
"items": {
"additionalProperties": false,
"properties": {
"arrivalTime": {
"type": "string"
},
"complete": {
"type": "boolean"
},
"currency": {
"type": "string"
},
"departureTime": {
"type": "string"
},
"destinationStop": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"durationRangeMinutes": {
"additionalProperties": false,
"properties": {
"max": {
"type": "number"
},
"min": {
"type": "number"
}
},
"type": "object"
},
"fareRange": {
"additionalProperties": false,
"properties": {
"max": {
"type": "number"
},
"min": {
"type": "number"
}
},
"required": [
"min",
"max"
],
"type": "object"
},
"hasThroughFare": {
"type": "boolean"
},
"id": {
"type": "string"
},
"isContinuation": {
"type": "boolean"
},
"originStop": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"segmentCounts": {
"additionalProperties": false,
"properties": {
"returned": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"total": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"truncated": {
"type": "boolean"
}
},
"required": [
"total",
"returned",
"truncated"
],
"type": "object"
},
"segments": {
"items": {
"additionalProperties": false,
"properties": {
"alightAt": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"arrivalTime": {
"description": "Timetabled bus arrival, ISO 8601",
"type": "string"
},
"boardAt": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"currency": {
"type": "string"
},
"departureTime": {
"description": "Timetabled bus departure, ISO 8601",
"type": "string"
},
"fare": {
"type": "number"
},
"fareBasis": {
"description": "How the bus fare was set: the operator's published single, a local flat fare, an estimate at England's national fare cap, or unavailable",
"enum": [
"operator-published",
"local-flat-fare",
"national-fare-cap-estimate",
"unavailable"
],
"type": "string"
},
"fareMin": {
"description": "Lowest listed bus fare when the operator lists several",
"type": "number"
},
"routeDestination": {
"type": "string"
},
"routeName": {
"type": "string"
}
},
"required": [
"boardAt",
"alightAt"
],
"type": "object"
},
"type": "array"
},
"stepCounts": {
"additionalProperties": false,
"properties": {
"returned": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"total": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"truncated": {
"type": "boolean"
}
},
"required": [
"total",
"returned",
"truncated"
],
"type": "object"
},
"steps": {
"items": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"distanceMeters": {
"type": "number"
},
"durationMinutes": {
"type": "number"
},
"instruction": {
"type": "string"
},
"roadCrossings": {
"items": {
"additionalProperties": false,
"properties": {
"confidence": {
"const": "high",
"type": "string"
},
"distanceFromStartMeters": {
"minimum": 0,
"type": "number"
},
"evidence": {
"enum": [
"mapped-crossing",
"short-road-traversal"
],
"type": "string"
},
"location": {
"additionalProperties": false,
"properties": {
"lat": {
"description": "Latitude in decimal degrees",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"lng": {
"description": "Longitude in decimal degrees",
"maximum": 180,
"minimum": -180,
"type": "number"
}
},
"required": [
"lat",
"lng"
],
"type": "object"
}
},
"required": [
"location",
"distanceFromStartMeters",
"evidence",
"confidence"
],
"type": "object"
},
"type": "array"
},
"roadCrossingsTotal": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"roadCrossingsTruncated": {
"type": "boolean"
},
"toStop": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"type": {
"const": "walk",
"type": "string"
},
"unverifiedEndpointMeters": {
"minimum": 0,
"type": "number"
}
},
"required": [
"type",
"toStop"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"alightAt": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"alightingRoadCrossing": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"confidence": {
"const": "high",
"type": "string"
},
"status": {
"const": "required",
"type": "string"
}
},
"required": [
"status",
"confidence"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"status": {
"const": "unknown",
"type": "string"
}
},
"required": [
"status"
],
"type": "object"
}
]
},
"boardAt": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"boardingRoadCrossing": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"confidence": {
"const": "high",
"type": "string"
},
"status": {
"const": "required",
"type": "string"
}
},
"required": [
"status",
"confidence"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"status": {
"const": "unknown",
"type": "string"
}
},
"required": [
"status"
],
"type": "object"
}
]
},
"currency": {
"type": "string"
},
"fare": {
"type": "number"
},
"instruction": {
"type": "string"
},
"route": {
"type": "string"
},
"stopCount": {
"type": "number"
},
"toward": {
"type": "string"
},
"type": {
"const": "ride",
"type": "string"
}
},
"required": [
"type",
"boardAt",
"alightAt"
],
"type": "object"
}
]
},
"type": "array"
},
"timeZone": {
"type": "string"
},
"totalFare": {
"type": "number"
},
"walkingDistanceFromDestinationKm": {
"type": "number"
},
"walkingDistanceToPickupKm": {
"type": "number"
},
"warnings": {
"additionalProperties": false,
"properties": {
"longWalkFromDestination": {
"type": "boolean"
},
"longWalkToPickup": {
"type": "boolean"
},
"totalWalkingLimitExceeded": {
"type": "boolean"
}
},
"required": [
"longWalkToPickup",
"longWalkFromDestination",
"totalWalkingLimitExceeded"
],
"type": "object"
}
},
"required": [
"durationRangeMinutes",
"isContinuation",
"hasThroughFare",
"originStop",
"destinationStop",
"segments",
"segmentCounts",
"steps",
"stepCounts",
"warnings",
"complete"
],
"type": "object"
},
"type": "array"
},
"routesRequiringRideConnection": {
"items": {
"additionalProperties": false,
"properties": {
"arrivalTime": {
"type": "string"
},
"complete": {
"type": "boolean"
},
"currency": {
"type": "string"
},
"departureTime": {
"type": "string"
},
"destinationStop": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"durationRangeMinutes": {
"additionalProperties": false,
"properties": {
"max": {
"type": "number"
},
"min": {
"type": "number"
}
},
"type": "object"
},
"fareRange": {
"additionalProperties": false,
"properties": {
"max": {
"type": "number"
},
"min": {
"type": "number"
}
},
"required": [
"min",
"max"
],
"type": "object"
},
"hasThroughFare": {
"type": "boolean"
},
"id": {
"type": "string"
},
"isContinuation": {
"type": "boolean"
},
"originStop": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"segmentCounts": {
"additionalProperties": false,
"properties": {
"returned": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"total": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"truncated": {
"type": "boolean"
}
},
"required": [
"total",
"returned",
"truncated"
],
"type": "object"
},
"segments": {
"items": {
"additionalProperties": false,
"properties": {
"alightAt": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"arrivalTime": {
"description": "Timetabled bus arrival, ISO 8601",
"type": "string"
},
"boardAt": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"currency": {
"type": "string"
},
"departureTime": {
"description": "Timetabled bus departure, ISO 8601",
"type": "string"
},
"fare": {
"type": "number"
},
"fareBasis": {
"description": "How the bus fare was set: the operator's published single, a local flat fare, an estimate at England's national fare cap, or unavailable",
"enum": [
"operator-published",
"local-flat-fare",
"national-fare-cap-estimate",
"unavailable"
],
"type": "string"
},
"fareMin": {
"description": "Lowest listed bus fare when the operator lists several",
"type": "number"
},
"routeDestination": {
"type": "string"
},
"routeName": {
"type": "string"
}
},
"required": [
"boardAt",
"alightAt"
],
"type": "object"
},
"type": "array"
},
"stepCounts": {
"additionalProperties": false,
"properties": {
"returned": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"total": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"truncated": {
"type": "boolean"
}
},
"required": [
"total",
"returned",
"truncated"
],
"type": "object"
},
"steps": {
"items": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"distanceMeters": {
"type": "number"
},
"durationMinutes": {
"type": "number"
},
"instruction": {
"type": "string"
},
"roadCrossings": {
"items": {
"additionalProperties": false,
"properties": {
"confidence": {
"const": "high",
"type": "string"
},
"distanceFromStartMeters": {
"minimum": 0,
"type": "number"
},
"evidence": {
"enum": [
"mapped-crossing",
"short-road-traversal"
],
"type": "string"
},
"location": {
"additionalProperties": false,
"properties": {
"lat": {
"description": "Latitude in decimal degrees",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"lng": {
"description": "Longitude in decimal degrees",
"maximum": 180,
"minimum": -180,
"type": "number"
}
},
"required": [
"lat",
"lng"
],
"type": "object"
}
},
"required": [
"location",
"distanceFromStartMeters",
"evidence",
"confidence"
],
"type": "object"
},
"type": "array"
},
"roadCrossingsTotal": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"roadCrossingsTruncated": {
"type": "boolean"
},
"toStop": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"type": {
"const": "walk",
"type": "string"
},
"unverifiedEndpointMeters": {
"minimum": 0,
"type": "number"
}
},
"required": [
"type",
"toStop"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"alightAt": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"alightingRoadCrossing": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"confidence": {
"const": "high",
"type": "string"
},
"status": {
"const": "required",
"type": "string"
}
},
"required": [
"status",
"confidence"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"status": {
"const": "unknown",
"type": "string"
}
},
"required": [
"status"
],
"type": "object"
}
]
},
"boardAt": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
},
"boardingRoadCrossing": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"confidence": {
"const": "high",
"type": "string"
},
"status": {
"const": "required",
"type": "string"
}
},
"required": [
"status",
"confidence"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"status": {
"const": "unknown",
"type": "string"
}
},
"required": [
"status"
],
"type": "object"
}
]
},
"currency": {
"type": "string"
},
"fare": {
"type": "number"
},
"instruction": {
"type": "string"
},
"route": {
"type": "string"
},
"stopCount": {
"type": "number"
},
"toward": {
"type": "string"
},
"type": {
"const": "ride",
"type": "string"
}
},
"required": [
"type",
"boardAt",
"alightAt"
],
"type": "object"
}
]
},
"type": "array"
},
"timeZone": {
"type": "string"
},
"totalFare": {
"type": "number"
},
"walkingDistanceFromDestinationKm": {
"type": "number"
},
"walkingDistanceToPickupKm": {
"type": "number"
},
"warnings": {
"additionalProperties": false,
"properties": {
"longWalkFromDestination": {
"type": "boolean"
},
"longWalkToPickup": {
"type": "boolean"
},
"totalWalkingLimitExceeded": {
"type": "boolean"
}
},
"required": [
"longWalkToPickup",
"longWalkFromDestination",
"totalWalkingLimitExceeded"
],
"type": "object"
}
},
"required": [
"durationRangeMinutes",
"isContinuation",
"hasThroughFare",
"originStop",
"destinationStop",
"segments",
"segmentCounts",
"steps",
"stepCounts",
"warnings",
"complete"
],
"type": "object"
},
"type": "array"
},
"skipNote": {
"type": "string"
}
},
"required": [
"routes",
"routesRequiringRideConnection",
"routeCounts",
"complete"
],
"type": "object"
}
},
{
"description": "Resolve a place ID from search_places to an exact name, address, and coordinates.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"placeId": {
"description": "Place ID returned by search_places",
"maxLength": 256,
"minLength": 1,
"type": "string"
}
},
"required": [
"placeId"
],
"type": "object"
},
"name": "resolve_place",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"place": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"address": {
"type": "string"
},
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
},
"placeId": {
"type": "string"
}
},
"type": "object"
},
{
"type": "null"
}
]
}
},
"required": [
"place"
],
"type": "object"
}
},
{
"description": "Search for pickup or destination places. Use resolve_place on the selected result before planning a trip.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"countryCode": {
"default": "gh",
"description": "Country to search: \"gh\" for Ghana, or \"gb\" for England, Scotland and Wales",
"pattern": "^[a-zA-Z]{2}$",
"type": "string"
},
"near": {
"description": "Coordinates used to bias nearby results",
"properties": {
"lat": {
"description": "Latitude in decimal degrees",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"lng": {
"description": "Longitude in decimal degrees",
"maximum": 180,
"minimum": -180,
"type": "number"
}
},
"required": [
"lat",
"lng"
],
"type": "object"
},
"query": {
"description": "Place name or address",
"maxLength": 120,
"minLength": 2,
"type": "string"
},
"radiusMeters": {
"maximum": 50000,
"minimum": 1000,
"type": "integer"
}
},
"required": [
"query"
],
"type": "object"
},
"name": "search_places",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"complete": {
"type": "boolean"
},
"placeCounts": {
"additionalProperties": false,
"properties": {
"returned": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"total": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"truncated": {
"type": "boolean"
}
},
"required": [
"total",
"returned",
"truncated"
],
"type": "object"
},
"places": {
"items": {
"additionalProperties": false,
"properties": {
"address": {
"type": "string"
},
"complete": {
"type": "boolean"
},
"label": {
"type": "string"
},
"location": {
"additionalProperties": false,
"properties": {
"lat": {
"description": "Latitude in decimal degrees",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"lng": {
"description": "Longitude in decimal degrees",
"maximum": 180,
"minimum": -180,
"type": "number"
}
},
"required": [
"lat",
"lng"
],
"type": "object"
},
"name": {
"type": "string"
},
"placeId": {
"type": "string"
},
"routeNameCounts": {
"additionalProperties": false,
"properties": {
"returned": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"total": {
"maximum": 9007199254740991,
"minimum": 0,
"type": "integer"
},
"truncated": {
"type": "boolean"
}
},
"required": [
"total",
"returned",
"truncated"
],
"type": "object"
},
"routeNames": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
}
},
"required": [
"places",
"complete",
"placeCounts"
],
"type": "object"
}
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:e2e461dea8c9b05c125b149a8b6a4eda3a38c2f92460d75a0d165b2d8ea17bbb | sha256sum