Exchange rate history
get_exchange_rate_historyDaily official reference rates of a currency pair between two dates (at most 366 days per request), oldest first.
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": {
"base": "<base>",
"quote": "<quote>"
},
"name": "get_exchange_rate_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last day (YYYY-MM-DD). Default: today. | |
| base | Yes | Currency to convert from, ISO 4217 code. | |
| from | No | First day (YYYY-MM-DD). Default: 30 days before `to`. | |
| quote | Yes | Currency to convert to, ISO 4217 code. |