Search Indicators
search_indicatorsDiscover what a dataset accepts: its dimension names in key order, and the codes available for each, filtered by query. Use this before get_data, e.g. search_indicators({dataset:"CPI", query:"united states"}) finds COUNTRY=USA. Without a query it returns the dimension list and a sample of codes.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "united states",
"dataset": "CPI"
},
"name": "search_indicators"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Optional term matched against code ids and names, e.g. "united states", "GDP", "monthly". | |
| dataset | Yes | Dataset id from get_datasets, e.g. "CPI". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| query | No | Lowercase search query term used for filtering | |
| dataset | No | ||
| structure | No | IMF DataStructure containing indicator code dimensions and metadata | |
| dimensions | No | ||
| dimension_order | No | ||
| unmatched_codelists | No |