convert_currency
Convert currency using Central Bank of Russia exchange rates. Provide amount, source currency, target currency, and optional date to get an accurate converted value.
Instructions
Конвертация суммы из одной валюты в другую через курс ЦБ РФ.
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>"
},
"name": "convert_currency"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Дата курса в формате YYYY-MM-DD (по умолчанию сегодня) | |
| amount | Yes | Сумма для конвертации | |
| to_currency | No | Код целевой валюты (по умолчанию RUB) | RUB |
| from_currency | Yes | Код исходной валюты (например USD, EUR, CNY, RUB) |