get_currency_rate_history
Retrieve historical exchange rates for a currency across a date range, with table selection for average, other, or bid/ask rates.
Instructions
Get historical exchange rates for a currency within a date range.
Args: code: Three-letter currency code (e.g., USD, EUR, GBP) following ISO 4217 start_date: Start date in YYYY-MM-DD format (ISO 8601) end_date: End date in YYYY-MM-DD format (ISO 8601) table: Table type - 'a' for average rates, 'b' for other currencies, 'c' for bid/ask rates (default: 'a')
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": {
"code": "<code>",
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "get_currency_rate_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| table | No | a | |
| end_date | Yes | ||
| start_date | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |