Get one empty leg
get_empty_legCurrent details of one offer by the ref returned by search_empty_legs. available=false means the offer is no longer listed.
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": {
"ref": "<ref>"
},
"name": "get_empty_leg"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ref exactly as returned by search_empty_legs. | |
| locale | No | Language of texts and links in the result: en or de. | en |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| flight | Yes | ||
| data_as_of | Yes |