fetch_bop_data
Retrieve time series data from the IMF's BOP database by specifying frequency, country, indicator, and date range. Outputs queried data in a compact format for analysis.
Instructions
Retrieves compact format time series data from the BOP database based on the input parameters.
Args:
freq (str): Frequency (e.g., "A" for annual, "Q" for quarterly, "M" for monthly).
country (str): Country code, multiple country codes can be connected with "+".
indicator (str): Indicator code.
start (str | int): Start year.
end (str | int): End year.
Returns:
str: Description of the queried data. Do not perform further analysis or retry if the query fails.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
country | Yes | ||
end | Yes | ||
freq | Yes | ||
indicator | Yes | ||
start | Yes |
Input Schema (JSON Schema)
{
"properties": {
"country": {
"title": "Country",
"type": "string"
},
"end": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
}
],
"title": "End"
},
"freq": {
"title": "Freq",
"type": "string"
},
"indicator": {
"title": "Indicator",
"type": "string"
},
"start": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
}
],
"title": "Start"
}
},
"required": [
"freq",
"country",
"indicator",
"start",
"end"
],
"title": "fetch_bop_dataArguments",
"type": "object"
}