Sail is an MCP server published by co.sailrides, hosted at sailrides.co. When last checked on 2026-11-24 it was working: it answers and lists its tools. It declares 6 tools, including search_places, resolve_place, plan_trip, compare_rides, plan_public_transport.
Search places, compare ride-hailing options, and plan trotro minibus journeys.
Nothing else in the archive shares these values.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Search for pickup or destination places. Use resolve_place on the selected result before planning a trip.
| Parameter | Type | Description |
|---|---|---|
| near | object | Coordinates used to bias nearby results |
| query * | string | Place name or address |
| countryCode | string | Country to search: "gh" for Ghana, or "gb" for England, Scotland and Wales |
| radiusMeters | integer |
{
"name": "search_places",
"title": "Search places",
"description": "Search for pickup or destination places. Use resolve_place on the selected result before planning a trip.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"query"
],
"properties": {
"near": {
"type": "object",
"required": [
"lat",
"lng"
],
"properties": {
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Latitude in decimal degrees"
},
"lng": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Longitude in decimal degrees"
}
},
"description": "Coordinates used to bias nearby results"
},
"query": {
"type": "string",
"maxLength": 120,
"minLength": 2,
"description": "Place name or address"
},
"countryCode": {
"type": "string",
"default": "gh",
"pattern": "^[a-zA-Z]{2}$",
"description": "Country to search: \"gh\" for Ghana, or \"gb\" for England, Scotland and Wales"
},
"radiusMeters": {
"type": "integer",
"maximum": 50000,
"minimum": 1000
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"places",
"complete",
"placeCounts"
],
"properties": {
"places": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"label": {
"type": "string"
},
"address": {
"type": "string"
},
"placeId": {
"type": "string"
},
"complete": {
"type": "boolean"
},
"location": {
"type": "object",
"required": [
"lat",
"lng"
],
"properties": {
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Latitude in decimal degrees"
},
"lng": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Longitude in decimal degrees"
}
},
"additionalProperties": false
},
"routeNames": {
"type": "array",
"items": {
"type": "string"
}
},
"routeNameCounts": {
"type": "object",
"required": [
"total",
"returned",
"truncated"
],
"properties": {
"total": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"returned": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"complete": {
"type": "boolean"
},
"placeCounts": {
"type": "object",
"required": [
"total",
"returned",
"truncated"
],
"properties": {
"total": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"returned": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Resolve a place ID from search_places to an exact name, address, and coordinates.
| Parameter | Type | Description |
|---|---|---|
| placeId * | string | Place ID returned by search_places |
{
"name": "resolve_place",
"title": "Resolve place",
"description": "Resolve a place ID from search_places to an exact name, address, and coordinates.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"placeId"
],
"properties": {
"placeId": {
"type": "string",
"maxLength": 256,
"minLength": 1,
"description": "Place ID returned by search_places"
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"place"
],
"properties": {
"place": {
"anyOf": [
{
"type": "object",
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
},
"address": {
"type": "string"
},
"placeId": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| pickup * | object | Resolved pickup place |
| destination * | object | Resolved destination place |
{
"name": "plan_trip",
"title": "Plan a trip",
"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": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"pickup",
"destination"
],
"properties": {
"pickup": {
"type": "object",
"required": [
"lat",
"lng"
],
"properties": {
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Latitude in decimal degrees"
},
"lng": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Longitude in decimal degrees"
},
"name": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"address": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"placeId": {
"type": "string",
"maxLength": 256,
"minLength": 1,
"description": "Place ID returned by search_places"
}
},
"description": "Resolved pickup place"
},
"destination": {
"type": "object",
"required": [
"lat",
"lng"
],
"properties": {
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Latitude in decimal degrees"
},
"lng": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Longitude in decimal degrees"
},
"name": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"address": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"placeId": {
"type": "string",
"maxLength": 256,
"minLength": 1,
"description": "Place ID returned by search_places"
}
},
"description": "Resolved destination place"
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"status",
"rides",
"trotro"
],
"properties": {
"bus": {
"anyOf": [
{
"type": "object",
"required": [
"status",
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"routes",
"routesRequiringRideConnection",
"routeCounts",
"complete"
],
"properties": {
"routes": {
"type": "array",
"items": {
"type": "object",
"required": [
"originStop",
"destinationStop",
"segments",
"segmentCounts",
"complete"
],
"properties": {
"id": {
"type": "string"
},
"complete": {
"type": "boolean"
},
"currency": {
"type": "string"
},
"segments": {
"type": "array",
"items": {
"type": "object",
"required": [
"boardAt",
"alightAt"
],
"properties": {
"fare": {
"type": "number"
},
"boardAt": {
"anyOf": [
{
"type": "object",
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"fareMin": {
"type": "number",
"description": "Lowest listed bus fare when the operator lists several"
},
"alightAt": {
"anyOf": [
{
"type": "object",
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"currency": {
"type": "string"
},
"fareBasis": {
"enum": [
"operator-published",
"local-flat-fare",
"national-fare-cap-estimate",
"unavailable"
],
"type": "string",
"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"
},
"routeName": {
"type": "string"
},
"arrivalTime": {
"type": "string",
"description": "Timetabled bus arrival, ISO 8601"
},
"departureTime": {
"type": "string",
"description": "Timetabled bus departure, ISO 8601"
},
"routeDestination": {
"type": "string"
}
},
"additionalProperties": false
}
},
"timeZone": {
"type": "string"
},
"fareRange": {
"type": "object",
"required": [
"min",
"max"
],
"properties": {
"max": {
"type": "number"
},
"min": {
"type": "number"
}
},
"additionalProperties": false
},
"totalFare": {
"type": "number"
},
"originStop": {
"anyOf": [
{
"type": "object",
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"arrivalTime": {
"type": "string"
},
"departureTime": {
"type": "string"
},
"segmentCounts": {
"type": "object",
"required": [
"total",
"returned",
"truncated"
],
"properties": {
"total": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"returned": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
},
"transferCount": {
"type": "number"
},
"destinationStop": {
"anyOf": [
{
"type": "object",
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"walkingUncertaintyNote": {
"type": "string"
},
"walkingDistanceToPickupKm": {
"type": "number"
},
"walkingDistanceFromDestinationKm": {
"type": "number"
}
},
"additionalProperties": false
}
},
"complete": {
"type": "boolean"
},
"skipNote": {
"type": "string"
},
"routeCounts": {
"type": "object",
"required": [
"direct",
"rideConnection"
],
"properties": {
"direct": {
"type": "object",
"required": [
"total",
"returned",
"truncated"
],
"properties": {
"total": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"returned": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
},
"rideConnection": {
"type": "object",
"required": [
"total",
"returned",
"truncated"
],
"properties": {
"total": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"returned": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"routesRequiringRideConnection": {
"type": "array",
"items": {
"type": "object",
"required": [
"originStop",
"destinationStop",
"segments",
"segmentCounts",
"complete"
],
"properties": {
"id": {
"type": "string"
},
"complete": {
"type": "boolean"
},
"currency": {
"type": "string"
},
"segments": {
"type": "array",
"items": {
"type": "object",
"required": [
"boardAt",
"alightAt"
],
"properties": {
"fare": {
"type": "number"
},
"boardAt": {
"anyOf": [
{
"type": "object",
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"fareMin": {
"type": "number",
"description": "Lowest listed bus fare when the operator lists several"
},
"alightAt": {
"anyOf": [
{
"type": "object",
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"currency": {
"type": "string"
},
"fareBasis": {
"enum": [
"operator-published",
"local-flat-fare",
"national-fare-cap-estimate",
"unavailable"
],
"type": "string",
"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"
},
"routeName": {
"type": "string"
},
"arrivalTime": {
"type": "string",
"description": "Timetabled bus arrival, ISO 8601"
},
"departureTime": {
"type": "string",
"description": "Timetabled bus departure, ISO 8601"
},
"routeDestination": {
"type": "string"
}
},
"additionalProperties": false
}
},
"timeZone": {
"type": "string"
},
"fareRange": {
"type": "object",
"required": [
"min",
"max"
],
"properties": {
"max": {
"type": "number"
},
"min": {
"type": "number"
}
},
"additionalProperties": false
},
"totalFare": {
"type": "number"
},
"originStop": {
"anyOf": [
{
"type": "object",
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"arrivalTime": {
"type": "string"
},
"departureTime": {
"type": "string"
},
"segmentCounts": {
"type": "object",
"required": [
"total",
"returned",
"truncated"
],
"properties": {
"total": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"returned": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
},
"transferCount": {
"type": "number"
},
"destinationStop": {
"anyOf": [
{
"type": "object",
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"walkingUncertaintyNote": {
"type": "string"
},
"walkingDistanceToPickupKm": {
"type": "number"
},
"walkingDistanceFromDestinationKm": {
"type": "number"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"complete",
"partial"
],
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"status",
"error"
],
"properties": {
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"enum": [
"cancelled",
"timeout",
"unavailable"
],
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
},
"status": {
"type": "string",
"const": "failed"
}
},
"additionalProperties": false
}
],
"description": "Bus options, present only for trips within England, Scotland and Wales"
},
"rides": {
"anyOf": [
{
"type": "object",
"required": [
"status",
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"options",
"optionCounts",
"complete"
],
"properties": {
"options": {
"type": "array",
"items": {
"type": "object",
"required": [
"price",
"available"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"price": {
"type": "object",
"properties": {
"amount": {
"type": "number"
},
"currency": {
"type": "string"
},
"originalAmount": {
"type": "number"
}
},
"additionalProperties": false
},
"category": {
"type": "string",
"description": "\"ride\" for a ride, \"courier\" for a parcel delivery quote, which is not a ride"
},
"provider": {
"type": "string"
},
"available": {
"type": "boolean"
},
"etaMinutes": {
"type": "number"
},
"vehicleType": {
"type": "string"
}
},
"additionalProperties": false
}
},
"complete": {
"type": "boolean"
},
"optionCounts": {
"type": "object",
"required": [
"total",
"returned",
"truncated"
],
"properties": {
"total": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"returned": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"status": {
"enum": [
"complete",
"partial"
],
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"status",
"error"
],
"properties": {
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"enum": [
"cancelled",
"timeout",
"unavailable"
],
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
},
"status": {
"type": "string",
"const": "failed"
}
},
"additionalProperties": false
}
]
},
"status": {
"enum": [
"complete",
"partial",
"failed"
],
"type": "string"
},
"trotro": {
"anyOf": [
{
"type": "object",
"required": [
"status",
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"routes",
"routesRequiringRideConnection",
"routeCounts",
"complete"
],
"properties": {
"routes": {
"type": "array",
"items": {
"type": "object",
"required": [
"originStop",
"destinationStop",
"segments",
"segmentCounts",
"complete"
],
"properties": {
"id": {
"type": "string"
},
"complete": {
"type": "boolean"
},
"currency": {
"type": "string"
},
"segments": {
"type": "array",
"items": {
"type": "object",
"required": [
"boardAt",
"alightAt"
],
"properties": {
"fare": {
"type": "number"
},
"boardAt": {
"anyOf": [
{
"type": "object",
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"fareMin": {
"type": "number",
"description": "Lowest listed bus fare when the operator lists several"
},
"alightAt": {
"anyOf": [
{
"type": "object",
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"currency": {
"type": "string"
},
"fareBasis": {
"enum": [
"operator-published",
"local-flat-fare",
"national-fare-cap-estimate",
"unavailable"
],
"type": "string",
"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"
},
"routeName": {
"type": "string"
},
"arrivalTime": {
"type": "string",
"description": "Timetabled bus arrival, ISO 8601"
},
"departureTime": {
"type": "string",
"description": "Timetabled bus departure, ISO 8601"
},
"routeDestination": {
"type": "string"
}
},
"additionalProperties": false
}
},
"timeZone": {
"type": "string"
},
"fareRange": {
"type": "object",
"required": [
"min",
"max"
],
"properties": {
"max": {
"type": "number"
},
"min": {
"type": "number"
}
},
"additionalProperties": false
},
"totalFare": {
"type": "number"
},
"originStop": {
"anyOf": [
{
"type": "object",
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"arrivalTime": {
"type": "string"
},
"departureTime": {
"type": "string"
},
"segmentCounts": {
"type": "object",
"required": [
"total",
"returned",
"truncated"
],
"properties": {
"total": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"returned": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
},
"transferCount": {
"type": "number"
},
"destinationStop": {
"anyOf": [
{
"type": "object",
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"walkingUncertaintyNote": {
"type": "string"
},
"walkingDistanceToPickupKm": {
"type": "number"
},
"walkingDistanceFromDestinationKm": {
"type": "number"
}
},
"additionalProperties": false
}
},
"complete": {
"type": "boolean"
},
"skipNote": {
"type": "string"
},
"routeCounts": {
"type": "object",
"required": [
"direct",
"rideConnection"
],
"properties": {
"direct": {
"type": "object",
"required": [
"total",
"returned",
"truncated"
],
"properties": {
"total": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"returned": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
},
"rideConnection": {
"type": "object",
"required": [
"total",
"returned",
"truncated"
],
"properties": {
"total": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"returned": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"routesRequiringRideConnection": {
"type": "array",
"items": {
"type": "object",
"required": [
"originStop",
"destinationStop",
"segments",
"segmentCounts",
"complete"
],
"properties": {
"id": {
"type": "string"
},
"complete": {
"type": "boolean"
},
"currency": {
"type": "string"
},
"segments": {
"type": "array",
"items": {
"type": "object",
"required": [
"boardAt",
"alightAt"
],
"properties": {
"fare": {
"type": "number"
},
"boardAt": {
"anyOf": [
{
"type": "object",
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"fareMin": {
"type": "number",
"description": "Lowest listed bus fare when the operator lists several"
},
"alightAt": {
"anyOf": [
{
"type": "object",
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"currency": {
"type": "string"
},
"fareBasis": {
"enum": [
"operator-published",
"local-flat-fare",
"national-fare-cap-estimate",
"unavailable"
],
"type": "string",
"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"
},
"routeName": {
"type": "string"
},
"arrivalTime": {
"type": "string",
"description": "Timetabled bus arrival, ISO 8601"
},
"departureTime": {
"type": "string",
"description": "Timetabled bus departure, ISO 8601"
},
"routeDestination": {
"type": "string"
}
},
"additionalProperties": false
}
},
"timeZone": {
"type": "string"
},
"fareRange": {
"type": "object",
"required": [
"min",
"max"
],
"properties": {
"max": {
"type": "number"
},
"min": {
"type": "number"
}
},
"additionalProperties": false
},
"totalFare": {
"type": "number"
},
"originStop": {
"anyOf": [
{
"type": "object",
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"arrivalTime": {
"type": "string"
},
"departureTime": {
"type": "string"
},
"segmentCounts": {
"type": "object",
"required": [
"total",
"returned",
"truncated"
],
"properties": {
"total": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"returned": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
},
"transferCount": {
"type": "number"
},
"destinationStop": {
"anyOf": [
{
"type": "object",
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"walkingUncertaintyNote": {
"type": "string"
},
"walkingDistanceToPickupKm": {
"type": "number"
},
"walkingDistanceFromDestinationKm": {
"type": "number"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"status": {
"enum": [
"complete",
"partial"
],
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"status",
"error"
],
"properties": {
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"enum": [
"cancelled",
"timeout",
"unavailable"
],
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
},
"status": {
"type": "string",
"const": "failed"
}
},
"additionalProperties": false
}
]
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Compare current ride-hailing prices and pickup times from the providers available through Sail.
| Parameter | Type | Description |
|---|---|---|
| pickup * | object | Resolved pickup place |
| destination * | object | Resolved destination place |
{
"name": "compare_rides",
"title": "Compare rides",
"description": "Compare current ride-hailing prices and pickup times from the providers available through Sail.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"pickup",
"destination"
],
"properties": {
"pickup": {
"type": "object",
"required": [
"lat",
"lng"
],
"properties": {
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Latitude in decimal degrees"
},
"lng": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Longitude in decimal degrees"
},
"name": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"address": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"placeId": {
"type": "string",
"maxLength": 256,
"minLength": 1,
"description": "Place ID returned by search_places"
}
},
"description": "Resolved pickup place"
},
"destination": {
"type": "object",
"required": [
"lat",
"lng"
],
"properties": {
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Latitude in decimal degrees"
},
"lng": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Longitude in decimal degrees"
},
"name": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"address": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"placeId": {
"type": "string",
"maxLength": 256,
"minLength": 1,
"description": "Place ID returned by search_places"
}
},
"description": "Resolved destination place"
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"options",
"optionCounts",
"complete"
],
"properties": {
"options": {
"type": "array",
"items": {
"type": "object",
"required": [
"price",
"available"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"price": {
"type": "object",
"properties": {
"amount": {
"type": "number"
},
"currency": {
"type": "string"
},
"originalAmount": {
"type": "number"
}
},
"additionalProperties": false
},
"category": {
"type": "string",
"description": "\"ride\" for a ride, \"courier\" for a parcel delivery quote, which is not a ride"
},
"provider": {
"type": "string"
},
"available": {
"type": "boolean"
},
"etaMinutes": {
"type": "number"
},
"vehicleType": {
"type": "string"
}
},
"additionalProperties": false
}
},
"complete": {
"type": "boolean"
},
"optionCounts": {
"type": "object",
"required": [
"total",
"returned",
"truncated"
],
"properties": {
"total": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"returned": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| pickup * | object | Pickup coordinates |
| destination * | object | Destination coordinates |
{
"name": "plan_public_transport",
"title": "Plan public transport",
"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": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"pickup",
"destination"
],
"properties": {
"pickup": {
"type": "object",
"required": [
"lat",
"lng"
],
"properties": {
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Latitude in decimal degrees"
},
"lng": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Longitude in decimal degrees"
}
},
"description": "Pickup coordinates"
},
"destination": {
"type": "object",
"required": [
"lat",
"lng"
],
"properties": {
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Latitude in decimal degrees"
},
"lng": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Longitude in decimal degrees"
}
},
"description": "Destination coordinates"
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"routes",
"routesRequiringRideConnection",
"routeCounts",
"complete",
"network"
],
"properties": {
"routes": {
"type": "array",
"items": {
"type": "object",
"required": [
"durationRangeMinutes",
"isContinuation",
"hasThroughFare",
"originStop",
"destinationStop",
"segments",
"segmentCounts",
"steps",
"stepCounts",
"warnings",
"complete"
],
"properties": {
"id": {
"type": "string"
},
"steps": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"type",
"toStop"
],
"properties": {
"type": {
"type": "string",
"const": "walk"
},
"toStop": {
"anyOf": [
{
"type": "object",
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"instruction": {
"type": "string"
},
"roadCrossings": {
"type": "array",
"items": {
"type": "object",
"required": [
"location",
"distanceFromStartMeters",
"evidence",
"confidence"
],
"properties": {
"evidence": {
"enum": [
"mapped-crossing",
"short-road-traversal"
],
"type": "string"
},
"location": {
"type": "object",
"required": [
"lat",
"lng"
],
"properties": {
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Latitude in decimal degrees"
},
"lng": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Longitude in decimal degrees"
}
},
"additionalProperties": false
},
"confidence": {
"type": "string",
"const": "high"
},
"distanceFromStartMeters": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": false
}
},
"distanceMeters": {
"type": "number"
},
"durationMinutes": {
"type": "number"
},
"directDistanceOnly": {
"type": "boolean",
"const": true,
"description": "The walk could not be mapped, so its distance is the straight-line distance."
},
"roadCrossingsTotal": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"roadCrossingsTruncated": {
"type": "boolean"
},
"unverifiedEndpointMeters": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"boardAt",
"alightAt"
],
"properties": {
"fare": {
"type": "number"
},
"type": {
"type": "string",
"const": "ride"
},
"route": {
"type": "string"
},
"toward": {
"type": "string"
},
"boardAt": {
"anyOf": [
{
"type": "object",
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"alightAt": {
"anyOf": [
{
"type": "object",
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"currency": {
"type": "string"
},
"stopCount": {
"type": "number"
},
"instruction": {
"type": "string"
},
"boardingRoadCrossing": {
"anyOf": [
{
"type": "object",
"required": [
"status",
"confidence"
],
"properties": {
"status": {
"type": "string",
"const": "required"
},
"confidence": {
"type": "string",
"const": "high"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"status"
],
"properties": {
"status": {
"type": "string",
"const": "unknown"
}
},
"additionalProperties": false
}
]
},
"alightingRoadCrossing": {
"anyOf": [
{
"type": "object",
"required": [
"status",
"confidence"
],
"properties": {
"status": {
"type": "string",
"const": "required"
},
"confidence": {
"type": "string",
"const": "high"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"status"
],
"properties": {
"status": {
"type": "string",
"const": "unknown"
}
},
"additionalProperties": false
}
]
}
},
"additionalProperties": false
}
]
}
},
"complete": {
"type": "boolean"
},
"currency": {
"type": "string"
},
"segments": {
"type": "array",
"items": {
"type": "object",
"required": [
"boardAt",
"alightAt"
],
"properties": {
"fare": {
"type": "number"
},
"boardAt": {
"anyOf": [
{
"type": "object",
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"fareMin": {
"type": "number",
"description": "Lowest listed bus fare when the operator lists several"
},
"alightAt": {
"anyOf": [
{
"type": "object",
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"currency": {
"type": "string"
},
"fareBasis": {
"enum": [
"operator-published",
"local-flat-fare",
"national-fare-cap-estimate",
"unavailable"
],
"type": "string",
"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"
},
"routeName": {
"type": "string"
},
"arrivalTime": {
"type": "string",
"description": "Timetabled bus arrival, ISO 8601"
},
"departureTime": {
"type": "string",
"description": "Timetabled bus departure, ISO 8601"
},
"routeDestination": {
"type": "string"
}
},
"additionalProperties": false
}
},
"timeZone": {
"type": "string"
},
"warnings": {
"type": "object",
"required": [
"longWalkToPickup",
"longWalkFromDestination",
"totalWalkingLimitExceeded"
],
"properties": {
"longWalkToPickup": {
"type": "boolean"
},
"longWalkFromDestination": {
"type": "boolean"
},
"totalWalkingLimitExceeded": {
"type": "boolean"
}
},
"additionalProperties": false
},
"fareRange": {
"type": "object",
"required": [
"min",
"max"
],
"properties": {
"max": {
"type": "number"
},
"min": {
"type": "number"
}
},
"additionalProperties": false
},
"totalFare": {
"type": "number"
},
"originStop": {
"anyOf": [
{
"type": "object",
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"stepCounts": {
"type": "object",
"required": [
"total",
"returned",
"truncated"
],
"properties": {
"total": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"returned": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
},
"arrivalTime": {
"type": "string"
},
"departureTime": {
"type": "string"
},
"segmentCounts": {
"type": "object",
"required": [
"total",
"returned",
"truncated"
],
"properties": {
"total": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"returned": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
},
"hasThroughFare": {
"type": "boolean"
},
"isContinuation": {
"type": "boolean"
},
"destinationStop": {
"anyOf": [
{
"type": "object",
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"durationRangeMinutes": {
"type": "object",
"properties": {
"max": {
"type": "number"
},
"min": {
"type": "number"
}
},
"additionalProperties": false
},
"walkingDistanceToPickupKm": {
"type": "number"
},
"walkingDistanceFromDestinationKm": {
"type": "number"
}
},
"additionalProperties": false
}
},
"network": {
"enum": [
"trotro",
"bus"
],
"type": "string",
"description": "trotro in Ghana, or bus in Great Britain"
},
"complete": {
"type": "boolean"
},
"skipNote": {
"type": "string"
},
"routeCounts": {
"type": "object",
"required": [
"direct",
"rideConnection"
],
"properties": {
"direct": {
"type": "object",
"required": [
"total",
"returned",
"truncated"
],
"properties": {
"total": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"returned": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
},
"rideConnection": {
"type": "object",
"required": [
"total",
"returned",
"truncated"
],
"properties": {
"total": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"returned": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"routesRequiringRideConnection": {
"type": "array",
"items": {
"type": "object",
"required": [
"durationRangeMinutes",
"isContinuation",
"hasThroughFare",
"originStop",
"destinationStop",
"segments",
"segmentCounts",
"steps",
"stepCounts",
"warnings",
"complete"
],
"properties": {
"id": {
"type": "string"
},
"steps": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"type",
"toStop"
],
"properties": {
"type": {
"type": "string",
"const": "walk"
},
"toStop": {
"anyOf": [
{
"type": "object",
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"instruction": {
"type": "string"
},
"roadCrossings": {
"type": "array",
"items": {
"type": "object",
"required": [
"location",
"distanceFromStartMeters",
"evidence",
"confidence"
],
"properties": {
"evidence": {
"enum": [
"mapped-crossing",
"short-road-traversal"
],
"type": "string"
},
"location": {
"type": "object",
"required": [
"lat",
"lng"
],
"properties": {
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Latitude in decimal degrees"
},
"lng": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Longitude in decimal degrees"
}
},
"additionalProperties": false
},
"confidence": {
"type": "string",
"const": "high"
},
"distanceFromStartMeters": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": false
}
},
"distanceMeters": {
"type": "number"
},
"durationMinutes": {
"type": "number"
},
"directDistanceOnly": {
"type": "boolean",
"const": true,
"description": "The walk could not be mapped, so its distance is the straight-line distance."
},
"roadCrossingsTotal": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"roadCrossingsTruncated": {
"type": "boolean"
},
"unverifiedEndpointMeters": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"boardAt",
"alightAt"
],
"properties": {
"fare": {
"type": "number"
},
"type": {
"type": "string",
"const": "ride"
},
"route": {
"type": "string"
},
"toward": {
"type": "string"
},
"boardAt": {
"anyOf": [
{
"type": "object",
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"alightAt": {
"anyOf": [
{
"type": "object",
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"currency": {
"type": "string"
},
"stopCount": {
"type": "number"
},
"instruction": {
"type": "string"
},
"boardingRoadCrossing": {
"anyOf": [
{
"type": "object",
"required": [
"status",
"confidence"
],
"properties": {
"status": {
"type": "string",
"const": "required"
},
"confidence": {
"type": "string",
"const": "high"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"status"
],
"properties": {
"status": {
"type": "string",
"const": "unknown"
}
},
"additionalProperties": false
}
]
},
"alightingRoadCrossing": {
"anyOf": [
{
"type": "object",
"required": [
"status",
"confidence"
],
"properties": {
"status": {
"type": "string",
"const": "required"
},
"confidence": {
"type": "string",
"const": "high"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"status"
],
"properties": {
"status": {
"type": "string",
"const": "unknown"
}
},
"additionalProperties": false
}
]
}
},
"additionalProperties": false
}
]
}
},
"complete": {
"type": "boolean"
},
"currency": {
"type": "string"
},
"segments": {
"type": "array",
"items": {
"type": "object",
"required": [
"boardAt",
"alightAt"
],
"properties": {
"fare": {
"type": "number"
},
"boardAt": {
"anyOf": [
{
"type": "object",
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"fareMin": {
"type": "number",
"description": "Lowest listed bus fare when the operator lists several"
},
"alightAt": {
"anyOf": [
{
"type": "object",
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"currency": {
"type": "string"
},
"fareBasis": {
"enum": [
"operator-published",
"local-flat-fare",
"national-fare-cap-estimate",
"unavailable"
],
"type": "string",
"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"
},
"routeName": {
"type": "string"
},
"arrivalTime": {
"type": "string",
"description": "Timetabled bus arrival, ISO 8601"
},
"departureTime": {
"type": "string",
"description": "Timetabled bus departure, ISO 8601"
},
"routeDestination": {
"type": "string"
}
},
"additionalProperties": false
}
},
"timeZone": {
"type": "string"
},
"warnings": {
"type": "object",
"required": [
"longWalkToPickup",
"longWalkFromDestination",
"totalWalkingLimitExceeded"
],
"properties": {
"longWalkToPickup": {
"type": "boolean"
},
"longWalkFromDestination": {
"type": "boolean"
},
"totalWalkingLimitExceeded": {
"type": "boolean"
}
},
"additionalProperties": false
},
"fareRange": {
"type": "object",
"required": [
"min",
"max"
],
"properties": {
"max": {
"type": "number"
},
"min": {
"type": "number"
}
},
"additionalProperties": false
},
"totalFare": {
"type": "number"
},
"originStop": {
"anyOf": [
{
"type": "object",
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"stepCounts": {
"type": "object",
"required": [
"total",
"returned",
"truncated"
],
"properties": {
"total": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"returned": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
},
"arrivalTime": {
"type": "string"
},
"departureTime": {
"type": "string"
},
"segmentCounts": {
"type": "object",
"required": [
"total",
"returned",
"truncated"
],
"properties": {
"total": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"returned": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
},
"hasThroughFare": {
"type": "boolean"
},
"isContinuation": {
"type": "boolean"
},
"destinationStop": {
"anyOf": [
{
"type": "object",
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"durationRangeMinutes": {
"type": "object",
"properties": {
"max": {
"type": "number"
},
"min": {
"type": "number"
}
},
"additionalProperties": false
},
"walkingDistanceToPickupKm": {
"type": "number"
},
"walkingDistanceFromDestinationKm": {
"type": "number"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Plan trotro journeys in Ghana, including fares, walking legs, transfers, and boarding instructions. Prefer plan_public_transport, which also covers buses in Great Britain.
| Parameter | Type | Description |
|---|---|---|
| pickup * | object | Pickup coordinates |
| destination * | object | Destination coordinates |
{
"name": "plan_trotro_route",
"title": "Plan a trotro route",
"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": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"pickup",
"destination"
],
"properties": {
"pickup": {
"type": "object",
"required": [
"lat",
"lng"
],
"properties": {
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Latitude in decimal degrees"
},
"lng": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Longitude in decimal degrees"
}
},
"description": "Pickup coordinates"
},
"destination": {
"type": "object",
"required": [
"lat",
"lng"
],
"properties": {
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Latitude in decimal degrees"
},
"lng": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Longitude in decimal degrees"
}
},
"description": "Destination coordinates"
}
}
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"routes",
"routesRequiringRideConnection",
"routeCounts",
"complete"
],
"properties": {
"routes": {
"type": "array",
"items": {
"type": "object",
"required": [
"durationRangeMinutes",
"isContinuation",
"hasThroughFare",
"originStop",
"destinationStop",
"segments",
"segmentCounts",
"steps",
"stepCounts",
"warnings",
"complete"
],
"properties": {
"id": {
"type": "string"
},
"steps": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"type",
"toStop"
],
"properties": {
"type": {
"type": "string",
"const": "walk"
},
"toStop": {
"anyOf": [
{
"type": "object",
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"instruction": {
"type": "string"
},
"roadCrossings": {
"type": "array",
"items": {
"type": "object",
"required": [
"location",
"distanceFromStartMeters",
"evidence",
"confidence"
],
"properties": {
"evidence": {
"enum": [
"mapped-crossing",
"short-road-traversal"
],
"type": "string"
},
"location": {
"type": "object",
"required": [
"lat",
"lng"
],
"properties": {
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Latitude in decimal degrees"
},
"lng": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Longitude in decimal degrees"
}
},
"additionalProperties": false
},
"confidence": {
"type": "string",
"const": "high"
},
"distanceFromStartMeters": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": false
}
},
"distanceMeters": {
"type": "number"
},
"durationMinutes": {
"type": "number"
},
"directDistanceOnly": {
"type": "boolean",
"const": true,
"description": "The walk could not be mapped, so its distance is the straight-line distance."
},
"roadCrossingsTotal": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"roadCrossingsTruncated": {
"type": "boolean"
},
"unverifiedEndpointMeters": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"boardAt",
"alightAt"
],
"properties": {
"fare": {
"type": "number"
},
"type": {
"type": "string",
"const": "ride"
},
"route": {
"type": "string"
},
"toward": {
"type": "string"
},
"boardAt": {
"anyOf": [
{
"type": "object",
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"alightAt": {
"anyOf": [
{
"type": "object",
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"currency": {
"type": "string"
},
"stopCount": {
"type": "number"
},
"instruction": {
"type": "string"
},
"boardingRoadCrossing": {
"anyOf": [
{
"type": "object",
"required": [
"status",
"confidence"
],
"properties": {
"status": {
"type": "string",
"const": "required"
},
"confidence": {
"type": "string",
"const": "high"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"status"
],
"properties": {
"status": {
"type": "string",
"const": "unknown"
}
},
"additionalProperties": false
}
]
},
"alightingRoadCrossing": {
"anyOf": [
{
"type": "object",
"required": [
"status",
"confidence"
],
"properties": {
"status": {
"type": "string",
"const": "required"
},
"confidence": {
"type": "string",
"const": "high"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"status"
],
"properties": {
"status": {
"type": "string",
"const": "unknown"
}
},
"additionalProperties": false
}
]
}
},
"additionalProperties": false
}
]
}
},
"complete": {
"type": "boolean"
},
"currency": {
"type": "string"
},
"segments": {
"type": "array",
"items": {
"type": "object",
"required": [
"boardAt",
"alightAt"
],
"properties": {
"fare": {
"type": "number"
},
"boardAt": {
"anyOf": [
{
"type": "object",
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"fareMin": {
"type": "number",
"description": "Lowest listed bus fare when the operator lists several"
},
"alightAt": {
"anyOf": [
{
"type": "object",
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"currency": {
"type": "string"
},
"fareBasis": {
"enum": [
"operator-published",
"local-flat-fare",
"national-fare-cap-estimate",
"unavailable"
],
"type": "string",
"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"
},
"routeName": {
"type": "string"
},
"arrivalTime": {
"type": "string",
"description": "Timetabled bus arrival, ISO 8601"
},
"departureTime": {
"type": "string",
"description": "Timetabled bus departure, ISO 8601"
},
"routeDestination": {
"type": "string"
}
},
"additionalProperties": false
}
},
"timeZone": {
"type": "string"
},
"warnings": {
"type": "object",
"required": [
"longWalkToPickup",
"longWalkFromDestination",
"totalWalkingLimitExceeded"
],
"properties": {
"longWalkToPickup": {
"type": "boolean"
},
"longWalkFromDestination": {
"type": "boolean"
},
"totalWalkingLimitExceeded": {
"type": "boolean"
}
},
"additionalProperties": false
},
"fareRange": {
"type": "object",
"required": [
"min",
"max"
],
"properties": {
"max": {
"type": "number"
},
"min": {
"type": "number"
}
},
"additionalProperties": false
},
"totalFare": {
"type": "number"
},
"originStop": {
"anyOf": [
{
"type": "object",
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"stepCounts": {
"type": "object",
"required": [
"total",
"returned",
"truncated"
],
"properties": {
"total": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"returned": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
},
"arrivalTime": {
"type": "string"
},
"departureTime": {
"type": "string"
},
"segmentCounts": {
"type": "object",
"required": [
"total",
"returned",
"truncated"
],
"properties": {
"total": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"returned": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
},
"hasThroughFare": {
"type": "boolean"
},
"isContinuation": {
"type": "boolean"
},
"destinationStop": {
"anyOf": [
{
"type": "object",
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"durationRangeMinutes": {
"type": "object",
"properties": {
"max": {
"type": "number"
},
"min": {
"type": "number"
}
},
"additionalProperties": false
},
"walkingDistanceToPickupKm": {
"type": "number"
},
"walkingDistanceFromDestinationKm": {
"type": "number"
}
},
"additionalProperties": false
}
},
"complete": {
"type": "boolean"
},
"skipNote": {
"type": "string"
},
"routeCounts": {
"type": "object",
"required": [
"direct",
"rideConnection"
],
"properties": {
"direct": {
"type": "object",
"required": [
"total",
"returned",
"truncated"
],
"properties": {
"total": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"returned": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
},
"rideConnection": {
"type": "object",
"required": [
"total",
"returned",
"truncated"
],
"properties": {
"total": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"returned": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"routesRequiringRideConnection": {
"type": "array",
"items": {
"type": "object",
"required": [
"durationRangeMinutes",
"isContinuation",
"hasThroughFare",
"originStop",
"destinationStop",
"segments",
"segmentCounts",
"steps",
"stepCounts",
"warnings",
"complete"
],
"properties": {
"id": {
"type": "string"
},
"steps": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"type",
"toStop"
],
"properties": {
"type": {
"type": "string",
"const": "walk"
},
"toStop": {
"anyOf": [
{
"type": "object",
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"instruction": {
"type": "string"
},
"roadCrossings": {
"type": "array",
"items": {
"type": "object",
"required": [
"location",
"distanceFromStartMeters",
"evidence",
"confidence"
],
"properties": {
"evidence": {
"enum": [
"mapped-crossing",
"short-road-traversal"
],
"type": "string"
},
"location": {
"type": "object",
"required": [
"lat",
"lng"
],
"properties": {
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Latitude in decimal degrees"
},
"lng": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Longitude in decimal degrees"
}
},
"additionalProperties": false
},
"confidence": {
"type": "string",
"const": "high"
},
"distanceFromStartMeters": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": false
}
},
"distanceMeters": {
"type": "number"
},
"durationMinutes": {
"type": "number"
},
"directDistanceOnly": {
"type": "boolean",
"const": true,
"description": "The walk could not be mapped, so its distance is the straight-line distance."
},
"roadCrossingsTotal": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"roadCrossingsTruncated": {
"type": "boolean"
},
"unverifiedEndpointMeters": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"boardAt",
"alightAt"
],
"properties": {
"fare": {
"type": "number"
},
"type": {
"type": "string",
"const": "ride"
},
"route": {
"type": "string"
},
"toward": {
"type": "string"
},
"boardAt": {
"anyOf": [
{
"type": "object",
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"alightAt": {
"anyOf": [
{
"type": "object",
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"currency": {
"type": "string"
},
"stopCount": {
"type": "number"
},
"instruction": {
"type": "string"
},
"boardingRoadCrossing": {
"anyOf": [
{
"type": "object",
"required": [
"status",
"confidence"
],
"properties": {
"status": {
"type": "string",
"const": "required"
},
"confidence": {
"type": "string",
"const": "high"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"status"
],
"properties": {
"status": {
"type": "string",
"const": "unknown"
}
},
"additionalProperties": false
}
]
},
"alightingRoadCrossing": {
"anyOf": [
{
"type": "object",
"required": [
"status",
"confidence"
],
"properties": {
"status": {
"type": "string",
"const": "required"
},
"confidence": {
"type": "string",
"const": "high"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"status"
],
"properties": {
"status": {
"type": "string",
"const": "unknown"
}
},
"additionalProperties": false
}
]
}
},
"additionalProperties": false
}
]
}
},
"complete": {
"type": "boolean"
},
"currency": {
"type": "string"
},
"segments": {
"type": "array",
"items": {
"type": "object",
"required": [
"boardAt",
"alightAt"
],
"properties": {
"fare": {
"type": "number"
},
"boardAt": {
"anyOf": [
{
"type": "object",
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"fareMin": {
"type": "number",
"description": "Lowest listed bus fare when the operator lists several"
},
"alightAt": {
"anyOf": [
{
"type": "object",
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"currency": {
"type": "string"
},
"fareBasis": {
"enum": [
"operator-published",
"local-flat-fare",
"national-fare-cap-estimate",
"unavailable"
],
"type": "string",
"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"
},
"routeName": {
"type": "string"
},
"arrivalTime": {
"type": "string",
"description": "Timetabled bus arrival, ISO 8601"
},
"departureTime": {
"type": "string",
"description": "Timetabled bus departure, ISO 8601"
},
"routeDestination": {
"type": "string"
}
},
"additionalProperties": false
}
},
"timeZone": {
"type": "string"
},
"warnings": {
"type": "object",
"required": [
"longWalkToPickup",
"longWalkFromDestination",
"totalWalkingLimitExceeded"
],
"properties": {
"longWalkToPickup": {
"type": "boolean"
},
"longWalkFromDestination": {
"type": "boolean"
},
"totalWalkingLimitExceeded": {
"type": "boolean"
}
},
"additionalProperties": false
},
"fareRange": {
"type": "object",
"required": [
"min",
"max"
],
"properties": {
"max": {
"type": "number"
},
"min": {
"type": "number"
}
},
"additionalProperties": false
},
"totalFare": {
"type": "number"
},
"originStop": {
"anyOf": [
{
"type": "object",
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"stepCounts": {
"type": "object",
"required": [
"total",
"returned",
"truncated"
],
"properties": {
"total": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"returned": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
},
"arrivalTime": {
"type": "string"
},
"departureTime": {
"type": "string"
},
"segmentCounts": {
"type": "object",
"required": [
"total",
"returned",
"truncated"
],
"properties": {
"total": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"returned": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"truncated": {
"type": "boolean"
}
},
"additionalProperties": false
},
"hasThroughFare": {
"type": "boolean"
},
"isContinuation": {
"type": "boolean"
},
"destinationStop": {
"anyOf": [
{
"type": "object",
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"durationRangeMinutes": {
"type": "object",
"properties": {
"max": {
"type": "number"
},
"min": {
"type": "number"
}
},
"additionalProperties": false
},
"walkingDistanceToPickupKm": {
"type": "number"
},
"walkingDistanceFromDestinationKm": {
"type": "number"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}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.
Names, descriptions and schemas were written by the server and are shown as data.