location-countryCode
Generate a random ISO 3166-1 country code in alpha-2, alpha-3, or numeric format for testing, seeding, or placeholder data.
Instructions
Returns a random ISO_3166-1 country 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": "location-countryCode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variant | No | The code to return. Can be either 'alpha-2', 'alpha-3', or 'numeric'. |