Historical FX rate on a date
fx_historical_rateGet foreign exchange reference rates for a specified past date. Automatically uses the prior working day if weekend or holiday. Input base currency and target symbols.
Instructions
FX reference rates for a specific past date (YYYY-MM-DD). Falls back to the most recent prior working day if the date is a weekend/holiday.
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": {
"date": "<date>"
},
"name": "fx_historical_rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | USD | |
| date | Yes | YYYY-MM-DD | |
| symbols | No | Comma-separated target currencies |