rank_countries
Rank countries in a continent by GDP, population, or GDP per capita. Get top-N or bottom-N results with excluded countries listed and reasons.
Instructions
Top-N (or bottom-N with order='asc') countries of a continent by gdp, population, or gdp_per_capita. Same scope/year/currency/fx_date semantics as region_total. Countries without data for the requested year are excluded and listed with reasons.
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": {
"continent": "<continent>"
},
"name": "rank_countries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | latest | |
| order | No | desc | |
| scope | No | continent | |
| top_n | No | ||
| metric | No | gdp | |
| fx_date | No | ||
| currency | No | USD | |
| continent | Yes |