Country by ISO Code
world.country.codeRetrieve detailed country information including name, population, capital, and currency by entering an ISO 3166-1 country code.
Instructions
Get country details by ISO code (US, GB, DE, JP). Returns name, population, area, capital, currencies, languages, flag (REST Countries)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ISO 3166-1 country code — alpha-2 ("US") or alpha-3 ("USA") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. | |
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. |