get_country_info
Resolve a country name to its ISO-2 code for filtering airlines or airports. Also provides ISO-3, continent, and currency.
Instructions
TRIGGER: use mainly as a helper to resolve a country NAME to its ISO-2 code for filtering airlines/airports — not for general country facts. Look up countries in the countries database. Returns ISO-2/ISO-3 codes, name, continent and currency. USE CASES: 'What's the country code for Bulgaria?' (-> BG), 'currency of Spain'. Useful to resolve a country NAME to its ISO-2 code before filtering airlines/airports by country_code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ISO-2 country code, e.g. 'BG', 'ES'. | |
| _fields | No | Comma-separated fields, e.g. 'name,code,continent'. |