Get country macroeconomic and ESG snapshot
wb_country_macroFetch the latest available macroeconomic, fiscal, and ESG indicators for a country or regional aggregate (GDP, GDP growth, GDP per capita, CPI inflation, unemployment, central government debt % GDP, CO2 emissions per capita, current account balance % GDP, trade % GDP, and population) along with World Bank region and income classification.
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": {
"country": "<country>"
},
"name": "wb_country_macro"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | Yes | ISO2 code, ISO3 code, or country name (e.g. "US", "DEU", "Japan", "BR", "WLD", "EUU"). | |
| indicators | No | Optional custom list of World Bank indicator codes or aliases (e.g. ["gdp", "inflation", "co2_per_capita", "NY.GDP.PCAP.PP.CD"]). Defaults to the 10-metric macro and ESG bundle. |