get_fx_rates
Retrieve current foreign exchange rates for specified currencies in a chosen base currency, with an optional percentage change since a start date.
Instructions
Latest FX rates into a base currency (and the change since start_date).
Rate = units of base_currency per 1 unit of the currency, e.g. with base
EUR, USD -> 0.92 means 1 USD = 0.92 EUR. Minor units are accepted
("GBp" is converted as GBP / 100).
Args:
currencies: ISO codes, e.g. ["USD", "GBP", "CHF"].
base_currency: ISO code to express rates in. Default EUR.
start_date: Optional YYYY-MM-DD to also return the % change since then.
Returns:
`base_currency` and per currency `rate` and `date` (plus
`start_rate` and `change_since_start_pct` with start_date).
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": {
"currencies": "<currencies>"
},
"name": "get_fx_rates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| currencies | Yes | ||
| start_date | No | ||
| base_currency | No | EUR |