convert_currency
Convert any amount between currencies using official Bank of Russia rates, crossing through the rouble. Specify amount, source and target currency, with an optional date for historical rates.
Instructions
Convert an amount from one currency to another using the official Bank of Russia rates, crossing through the rouble. Both currencies must be quoted by the CBR (or be 'RUB'). Returns the converted amount together with the effective rate. Example: amount=1000, from_currency='USD', to_currency='RUB'.
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": {
"amount": "<amount>",
"from_currency": "<from_currency>",
"to_currency": "<to_currency>"
},
"name": "convert_currency"
}
}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. | |
| amount | Yes | Amount of money to convert, in units of from_currency. | |
| to_currency | Yes | Currency to convert to, such as 'RUB' or 'EUR'. | |
| from_currency | Yes | Currency to convert from, such as 'USD'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||