Get an IMF forecast
get_imf_forecastUse this when the user asks what the IMF projects for a country, such as "what does the IMF forecast for India's growth next year?". Pass the country and the indicator (growth, inflation or debt). Returns the IMF's figures for the current year and the next two, with the unit, the World Economic Outlook edition and the date it was published. It reports the IMF's projections only and does not make its own forecasts.
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": {
"country": "India",
"indicator": "growth"
},
"name": "get_imf_forecast"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | Yes | A country name or ISO code, such as "Vietnam", "VN" or "VNM" | |
| indicator | Yes | growth (real GDP, annual percent change), inflation (average consumer prices, annual percent change) or debt (general government gross debt, percent of GDP) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | Yes | ISO 8601 time the data was published by its source or fetched from it. A cached answer keeps the time of its fetch. | |
| notice | Yes | ||
| source | Yes | Who the data comes from, to cite and to check it against. | |
| status | Yes | ||
| country | Yes | ||
| edition | Yes | ||
| message | No | ||
| forecasts | Yes | ||
| indicator | Yes |