convert_currency
Convert amounts between UAH, USD, and EUR using stored monthly reference rates; omit the month to use the latest available rate.
Instructions
Convert between UAH, USD and EUR with the stored monthly reference rate (latest month when omitted).
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 |
|---|---|---|---|
| month | No | Calendar month, YYYY-MM. | |
| amount | Yes | Amount to convert. | |
| to_currency | Yes | UAH, USD or EUR. | |
| from_currency | Yes | UAH, USD or EUR. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| month | Yes | ||
| amount | Yes | ||
| converted | Yes | ||
| to_currency | Yes | ||
| uah_per_unit | Yes | ||
| from_currency | Yes | ||
| rate_month_used | Yes |