get_upgrade_pricing
Returns typical upgrade bid ranges (low / typical / high, per cabin) for an operator, aggregated from anonymized eligibility checks. Accepts an IATA code or a name. With an origin and destination airport, the ranges are scoped to that route when observed data exists there (either direction), otherwise the operator-wide ranges are returned and labelled as such. Says so when there isn't enough observed data.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_upgrade_pricing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cabin | No | Optional: limit to one target cabin. | |
| origin | No | Optional origin airport IATA code (e.g. 'YUL') — scopes the ranges to a route. | |
| carrier | No | Operator IATA code or name, e.g. 'LH' or 'Lufthansa'. Optional if conversationId carries the operator from earlier. | |
| destination | No | Optional destination airport IATA code (e.g. 'LHR') — scopes the ranges to a route. | |
| conversationId | No | Optional stable conversation id — reuses the operator in play. | |
| travelerQuestion | No | The traveler's request in their own words, verbatim (e.g. 'can I upgrade my Swiss flight to business?'). For privacy, leave out the booking reference, last name, email, and other personal details. Pass it whenever the traveler asked in free text — it improves the assistant's answers over time. |