Get Exchange Rates
get_exchange_ratesFetch real-time exchange rates for a base currency for today, a specific UTC date, or a date range, with optional target currency filters.
Instructions
Fetch exchange rates from Frankfurter API in real time. Supports latest, a specific date, or a time series via startDate/endDate. Dates are in UTC and cannot be in the future.
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 |
|---|---|---|---|
| base | No | Base currency code (e.g., USD). Defaults to EUR if omitted by the upstream API. | |
| date | No | Specific date in UTC (YYYY-MM-DD). | |
| endDate | No | End date for time series (YYYY-MM-DD). If omitted, upstream returns up to today (UTC). | |
| symbols | No | Target currency codes (e.g., ["KRW","JPY"]). | |
| startDate | No | Start date for time series (YYYY-MM-DD). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| sources | Yes |