Language, country, script and currency code lookup
locale_code_lookupLooks up ISO codes using Unicode CLDR data: language tags (fr, pt-BR, zh-Hant), country/region codes (DE, 419), scripts (Cyrl) and currencies (JPY). Returns the name in any display language, validity, canonical form, and for languages the native name and likely script and region. Can also search by English name to find a code.
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": "locale_code_lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Optional: language, region, script or currency (default: guessed from each code's shape). | |
| codes | No | Codes to look up, e.g. ['pt-BR', 'DE', 'Cyrl', 'JPY']. | |
| search | No | Find codes by English name instead, e.g. 'Portug'. | |
| display_language | No | Language for the names, e.g. 'de' (default 'en'). |