currency_convert
Converts an amount between RUB, USD, EUR and CNY at the Bank of Russia rate for a date: non-business days use the last business day's rate, cross rates go via RUB, dates after tomorrow are rejected. Returns rate (units of to per 1 from) and result (the amount in to, 2 decimals).
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": "<from>",
"to": "<to>"
},
"name": "currency_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target currency | |
| date | No | Rate date, YYYY-MM-DD; defaults to today in the company's time zone | |
| from | Yes | Currency of the amount | |
| amount | Yes | Amount in the from currency |