List Countries
ourairports_list_countriesList countries and valid country/region filter codes for ourairports_search_airports and ourairports_search_runways, with airport counts excluding closed airports. Restrict to country for one country's regions; country and continent combine as AND. include_regions without a scope returns the entire region table, so prefer country for a one-country lookup. Unscoped and continent-only requests remain available.
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_list_countries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. | |
| continent | No | Restrict to one continent: AF (Africa), AN (Antarctica), AS (Asia), EU (Europe), NA (North America), OC (Oceania), SA (South America). | |
| include_regions | No | When true, nest each country's ISO 3166-2 regions (with airport counts) under it. Off by default to keep the response compact. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present when the call failed. Absent on success. | |
| notice | No | Guidance when the country and/or continent filters matched no countries. | |
| 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. | |
| countries | No | Countries present in the dataset, sorted by name. | |
| totalCount | No | Number of countries returned. |