Price a transfer, an hourly/daily disposal or a long-distance trip from the published rate card, read-only, exactly like POST /api/v1/quote: per real road kilometre, closed at booking
get_quotePrice a transfer, an hourly/daily disposal or a long-distance trip from the published rate card, read-only, exactly like POST /api/v1/quote: per real road kilometre, closed at booking. Never an estimate: when the trip cannot be measured or needs a human, the answer says so (quotable: false, requiresHumanValidation, reasonCode) instead of inventing a price. Returns the fare for the requested tier and, when quotable, the other tier's total too. Not saved (persisted: false, no quoteId): to actually request the service, call POST /api/v1/booking or build a link with get_booking_link. The pickup must respect the minimum notice (longer at night, and it depends on the vehicle category; https://privyde.com/developers#lead-time).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"serviceType": "<serviceType>",
"tier": "<tier>",
"origin": "<origin>",
"date": "<date>",
"time": "<time>",
"passengers": "<passengers>"
},
"name": "get_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Pickup date, YYYY-MM-DD, Madrid calendar date. | |
| lang | No | Language for names and URLs. Defaults to "es". | |
| tier | Yes | Vehicle class to price. | |
| time | Yes | Pickup time, 24h HH:MM, Madrid wall-clock time. | |
| addons | No | ||
| origin | Yes | Pickup location (address, airport, hotel). | |
| passengers | Yes | ||
| destination | No | Drop-off location. Required unless serviceType is SRV_DISPOSITION. | |
| serviceType | Yes | SRV_TRANSFER = point to point with one end in the Madrid region; SRV_DISPOSITION = chauffeur at disposal by the hour or by the day; SRV_LONG_DISTANCE = intercity, in either direction. | |
| durationDays | No | Days at disposal (SRV_DISPOSITION, from 2 days). | |
| durationHours | No | Hours at disposal (SRV_DISPOSITION). | |
| originLocality | No | Town of the pickup, when known (keeps a province from being mistaken for a city). | |
| dispositionArea | No | Main area or destination of an "at disposal" service. Required for SRV_DISPOSITION once card-on-file is enabled (currently off); informational, never priced. | |
| oneWayOrRoundTrip | No | ||
| destinationLocality | No |