region_total
Sum GDP or population, or calculate population-weighted GDP per capita, for a continent or region; choose year, scope, currency, and missing-data policy.
Instructions
Regional total for a continent: sum of GDP, sum of population, or population-weighted GDP per capita (sum GDP / sum population). All judgment calls are parameters:
scope: 'continent' = the geographic continent per the country-list source (default); 'wb_region' = the World Bank region(s) overlapping it — a DIFFERENT country set (e.g. Europe & Central Asia adds Central Asia and the Caucasus).
year: "2022" or "latest" (latest walks back per country and may mix years — flagged).
missing_policy (pinned years): 'exclude' = countries without that year's value are excluded and listed (default); 'walk_back' = use their most recent earlier value.
currency / fx_date: as in get_country_metric. The response lists every included country with its value and year, every exclusion with its reason, the FX rate used, and the assumptions applied.
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": "region_total"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | latest | |
| scope | No | continent | |
| metric | No | gdp | |
| fx_date | No | ||
| currency | No | USD | |
| continent | Yes | ||
| missing_policy | No | exclude |