Search Runways
ourairports_search_runwaysSearch the bundled OurAirports corpus by airport and runway attributes. Returns one row per matching runway, paired with its airport. Supply latitude and longitude together to filter by radius and rank by distance to each parent airport. Surface matches any supplied fragment as a case-insensitive substring of the recorded surface. Lengths describe the full runway surface, including displaced thresholds and overruns. Minimum length and width filters exclude runways missing the corresponding measurement. Closed airports and runways are excluded unless their respective flags are set; type closed selects runways at closed airports without the airport flag. Use nextOffset to continue the same query and ourairports_list_countries to find valid country and region codes. OurAirports is community-edited. Consult official sources for flight operations.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ourairports_search_runways"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Restrict to runways at airports of one type: large_airport, medium_airport, small_airport, heliport, seaplane_base, balloonport, or closed. closed returns runways at closed airports without include_closed_airports. | |
| limit | No | Maximum rows to return. Defaults to OURAIRPORTS_DEFAULT_SEARCH_LIMIT (20), up to 100. Larger positive integers clamp to 100 with a notice; OURAIRPORTS_CLAMP_LIMITS=false restores strict rejection. | |
| offset | No | Matching runway rows to skip. Defaults to 0. Use nextOffset to continue. | |
| region | No | Region code from ourairports_list_countries with include_regions (e.g. US-WA or KS-U-A). Case-insensitive; surrounding whitespace is ignored. Literal empty string is unset; whitespace-only is invalid. | |
| country | No | Country code from ourairports_list_countries (e.g. US). Case-insensitive; surrounding whitespace is ignored. Literal empty string is unset; whitespace-only is invalid. | |
| lighted | No | Filter by runway lighting: true for lighted runways only, false for unlighted only. Omit to include both. | |
| surface | No | One fragment or a non-empty array of fragments. A runway qualifies when any fragment matches a case-insensitive substring of its recorded surface. For example, ["asp", "con", "pem"] matches records such as ASP, ASPH, CON, or PEM. | |
| latitude | No | Query point latitude in decimal degrees (WGS84). Supply with longitude. | |
| longitude | No | Query point longitude in decimal degrees (WGS84). Supply with latitude. | |
| radius_km | No | Search radius in kilometers (1–20,016). Defaults to 100 when coordinates are supplied. | |
| min_width_ft | No | Minimum runway width in feet (inclusive). Runways with an unknown width are excluded when this is set, never assumed to pass. | |
| min_length_ft | No | Minimum length of the full runway surface in feet (inclusive), matched against lengthFt — which includes displaced thresholds and overruns, so this is not a usable-distance filter. Runways with an unknown length are excluded when this is set, never assumed to pass. | |
| scheduled_service | No | Filter by scheduled airline service at the parent airport: true for runways at airports with it, false for runways at airports without. Omit to include both. OurAirports records whether an airport has airline service, not current schedules or routes. | |
| include_closed_runways | No | Include runways flagged closed. Off by default. | |
| include_closed_airports | No | Include runways at airports of type "closed" alongside the other types. Off by default. type "closed" returns them without this flag. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cap | No | The limit that was applied. Present only when results were truncated. | |
| error | No | Present when the call failed. Absent on success. | |
| shown | No | Number of runway rows returned. Present only when results were truncated. | |
| notice | No | Guidance for an empty page, continuation, or a clamped limit. | |
| runways | No | Matching runways, each paired with its airport. One row per runway — an airport with N matching runways contributes N rows. | |
| dataAsOf | No | When the OurAirports data behind this result was published (ISO 8601 UTC). It changes only when the data is refreshed; if it differs between pages of one query, restart from offset 0. Null when the snapshot date is unknown. | |
| truncated | No | Present and true only when matches remain after this page. | |
| nextOffset | No | Offset for the next page with the same query. | |
| totalCount | No | Total matching runways before offset and limit. |