Check saved flight status
flight_status_for_segmentGet current flight status for an existing flight segment in a user's trip. Use this when the user asks if a flight in their itinerary is delayed, canceled, on time, boarding, or has gate/terminal updates. Status is cached for a few minutes, so call it once per flight per answer; calling again for the same flight soon after returns the same result. The text says when the provider last updated the data.
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": {
"segment_id": "<segment_id>"
},
"name": "flight_status_for_segment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Alias for segment_id | |
| segment_id | Yes | The flight segment ID from a trip itinerary or segment details result |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | ||
| flight | No | ||
| matched | No | ||
| flightStatus | No |