get_live_exchange_rate
Retrieve live exchange rate between two currencies via ExchangeRate-API to convert amounts; base currency required, target defaults to EUR.
Instructions
Get the live exchange rate between two currencies using ExchangeRate-API.
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_currency": "<from_currency>"
},
"name": "get_live_exchange_rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_currency | No | ISO 4217 target currency code, defaults to EUR. | EUR |
| from_currency | Yes | ISO 4217 base currency code, for example USD or GBP. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |