get_currency_rate
Retrieve the official Bank of Russia exchange rate for a specified currency and optional date; weekends and holidays return the previous business day's published rate.
Instructions
Return the official Bank of Russia rate for one currency: roubles per unit, the inverse, the quoted nominal and both the English and Russian names. 'date' is optional and accepts 2026-11-26, 26.11.2026 or 26/11/2026; without it the latest published day is used. Weekends and holidays fall back to the previous business day and the response says which day was used. 'RUB' is accepted and always equals 1. Example: currency='USD'.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"currency": "<currency>"
},
"name": "get_currency_rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Date of the rate. Accepts 2026-11-26, 26.11.2026 or 26/11/2026. Omit it for the latest published day; weekends and holidays fall back to the previous business day. | |
| currency | Yes | Currency as an ISO 4217 alpha code such as 'USD', 'EUR' or 'CNY'. 'RUB' is accepted as the base currency. A numeric code such as '840' also works. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||