Get one empty leg
get_legReturn one published empty leg by id, including the route, date, aircraft, indicative price or price band, each source name and source URL, and fetchedAt (when this index collected the row, not a live quote). An unknown id returns an error and no leg. This does not hold or book the seat.
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": {
"id": "<id>"
},
"name": "get_leg"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Id of a published leg, as returned by search_empty_legs. Example: leg-ltn-nce. |