Convert Currency
get_currency_rateConvert an amount between two currencies using live rates (150+ currencies, daily updates). Use it for exchange rates and converting an amount between currencies.
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": {
"from": "<from>",
"to": "<to>"
},
"name": "get_currency_rate"
}
}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 | |||