Country Lookup
CountryLookupCountry Lookup: Country Lookup matches any country name or ISO code to its official names, ISO 3166 codes, capitals, region, languages, and flag emoji. Paid plans add coordinates and major cities, and with details=true demonyms, land area and UN membership. (Cost: 2 credits)
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": {
"country": "<country>"
},
"name": "CountryLookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | Yes | The Country name or ISO code of the country for which you want to get the data (e.g., USA) | |
| details | No | Set to true to add demonyms, land area in square kilometers, and UN membership to each country | |
| majorcities | No | Specify if you would like to return all major cities of the country found |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | Error message, null on success | |
| status | No | "ok" on success |