Convert Currency
get_currency_rateConvert an amount between two currencies using live exchange rates covering 150+ currencies with daily updates. Provide source and target ISO 4217 codes to get current rates.
Instructions
Convert an amount between two currencies using live rates (150+ currencies, daily updates). Use it for exchange rates and converting an amount between currencies.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target currency ISO 4217 code, e.g. USD. | |
| from | Yes | Source currency ISO 4217 code, e.g. EUR. | |
| amount | No | Amount to convert. Default 1. | |
| locale | No | Language the user writes in (en, ru, de, fr, es, pt, tr). Set it on every call: the answer and the interactive card are shown in this language and units; without it the card falls back to the app's interface language. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||