بحث الطيران
search_flightsFind the cheapest flights between two cities (Saudi city names or IATA codes) for a date (YYYY-MM-DD) or month (YYYY-MM). Prices in SAR. Each result has the airline's own booking link first (booking and payment happen on the airline site), and a partner link when available. ابحث عن أرخص الرحلات بين مدينتين بتاريخ أو شهر: السعر بالريال ورابط الشركة المباشر أوّلاً — الحجز والدفع لدى الشركة.
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": {
"origin": "<origin>",
"destination": "<destination>",
"departure": "<departure>"
},
"name": "search_flights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin | Yes | مدينة الإقلاع أو رمزها (الرياض، JED) | |
| departure | Yes | YYYY-MM-DD أو YYYY-MM | |
| destination | Yes | مدينة الوصول أو رمزها |