KosmoKrator

data

World Bank CLI for Cron Jobs

Use the World Bank CLI for cron jobs with headless JSON commands, schema discovery, credentials, and permission controls.

6 functions 6 read 0 write No credentials auth

World Bank CLI for Cron Jobs

Schedule repeatable integration workflows from cron while keeping credentials in KosmoKrator config.

Use the headless CLI from cron when an operation should run without an interactive agent session. The World Bank CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.

Command Shape

# World Bank CLI for Cron Jobs
kosmokrator integrations:configure worldbank --enable --read allow --write ask --json
kosmo integrations:call worldbank.worldbank_countries '{"query":"example_query","region":"example_region","income_level":"example_income_level"}' --json

Discovery Before Execution

Agents and scripts can inspect World Bank docs and schemas before choosing a function.

kosmo integrations:docs worldbank --json
kosmo integrations:docs worldbank.worldbank_countries --json
kosmo integrations:schema worldbank.worldbank_countries --json
kosmo integrations:search "World Bank" --json
kosmo integrations:list --json

Useful World Bank CLI Functions

FunctionTypeParametersDescription
worldbank.worldbank_countries Read query, region, income_level List or search countries from the World Bank. Optional query filters by name. Filter by region (EAS, ECS, LCN, MEA, NAC, SAS, SSF) or income level (HIC, UMC, LMC, LIC).
worldbank.worldbank_indicators Read query Search economic indicators by keyword. If no query is provided, returns common indicators. Use the indicator code with `worldbank_get_data` to fetch data. Common indicator codes: {$indicators}
worldbank.worldbank_topics Read topic_id List the 21 World Bank topic categories (e.g., Education, Health, Economy). Optionally provide a topic ID to list indicators in that topic.
worldbank.worldbank_country_info Read code Get detailed information for a specific country by ISO code, including region, income level, lending type, capital city, and coordinates.
worldbank.worldbank_get_data Read indicator, countries, date_range, mrnev, per_page Fetch economic indicator data for one or more countries from the World Bank. Supports date ranges and most-recent-value mode. Use `worldbank_indicators` to find indicator codes and `worldbank_countries` to find ISO codes.
worldbank.worldbank_compare_data Read indicator, countries, date_range Compare a single economic indicator across multiple countries. Returns the most recent value for each country side-by-side. Use `worldbank_indicators` to find indicator codes.

Automation Notes

Related World Bank CLI Pages