query_worldbank
Fetch World Bank macroeconomic indicators for specified countries and years, saving results to a CSV file.
Instructions
Query World Bank macroeconomic indicators. Output is written to file_path as CSV.
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": {
"indicator": "<indicator>",
"country": "<country>",
"start_year": "<start_year>",
"end_year": "<end_year>",
"file_path": "<file_path>"
},
"name": "query_worldbank"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | Yes | Country code(s) comma-separated, e.g. CHN,USA or all | |
| end_year | Yes | End year | |
| file_path | Yes | Output CSV file path | |
| indicator | Yes | World Bank indicator code, e.g. NY.GDP.MKTP.CD | |
| start_year | Yes | Start year |