Getairportflights
getAirportFlightsQuery all flights within 30 km of a specified airport using major codes like PEK, PVG, or CAN. Supports departure and arrival filtering.
Instructions
机场周边航班查询 - 查询指定机场周边30公里范围内的所有航班。支持主要机场代码如PEK、PVG、CAN等
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": {
"airport_code": "<airport_code>"
},
"name": "getAirportFlights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flight_type | No | departure | |
| airport_code | Yes |