Search country
search_countryResolve free-text country names, codes, or aliases to canonical names and ISO3 codes before querying humanitarian datasets. Handles English and Arabic spelling variants.
Instructions
Resolve a free-text country query ("egypt", "DRC", "syria") to canonical names and ISO3 codes. Use this first when unsure how a country is spelled in the data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max matches (default 5) | |
| query | Yes | Country name fragment, ISO2/ISO3 code or alias | |
| locale | No | Language of the human-readable text output: "en" (default) or "ar" (Modern Standard Arabic, right-to-left). Structured JSON fields, ISO3 codes and dataset ids stay in English either way. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| matches | Yes |