random_countries_detailed_info
Generates a random sample of countries with detailed reference data, including capital, continent, ISO codes, currency, phone prefix and population. Use it to test or seed datasets when you don't need lookup by name or code.
Instructions
Return a random sample of countries from the reference catalog. Each record has country name, capital, continent, ISO2, ISO3 and numeric ISO codes, FIPS code, currency name and code, phone prefix and population. Records are drawn from a random offset, so repeated calls return different countries. Sampling only: there is no lookup by country name or code.
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": {
"number_of_countries": "<number_of_countries>"
},
"name": "random_countries_detailed_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number_of_countries | Yes | Number of random countries to sample, from 1 to 100. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |