get_exchange_rates
Retrieve current or historical exchange rates for a chosen base currency against all supported currencies to convert or compare monetary values.
Instructions
Get exchange rates for a base currency against all supported currencies.
Args:
base_currency: Base currency ISO 4217 code (e.g. "USD", "EUR"). Defaults to "USD".
date: "latest" for today's rates (default), or YYYY-MM-DD for historical rates.
Returns:
Exchange rates for the base currency against all available currencies, with the rate date.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_exchange_rates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | latest | |
| base_currency | No | USD |