Hnb Currency Rate
hnb_currency_rateHNB exchange rate for ONE foreign currency vs EUR (Croatia is in the eurozone). Pass the 3-letter ISO currency code (e.g. "USD", "GBP", "CHF"). Three modes: omit dates for the latest rate; pass date for a single historical date; pass start_date+end_date for a daily time series over that window. srednji_tecaj is the middle/reference rate. Rate values are strings with a COMMA decimal separator (e.g. "1,164900"). Dates are YYYY-MM-DD.
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": {
"currency": "USD"
},
"name": "hnb_currency_rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Single historical date, YYYY-MM-DD. Ignored if start_date is given. | |
| currency | Yes | 3-letter ISO currency code, e.g. "USD", "GBP", "CHF". | |
| end_date | No | Time-series window end, YYYY-MM-DD. Required when start_date is given. | |
| start_date | No | Time-series window start, YYYY-MM-DD. |