get_currency_history
Fetch historical exchange rate data for any currency pair, selecting from periods like 1d, 6mo, or 5y to analyze trends.
Instructions
Get historical exchange rate data. Periods: 1d, 5d, 1mo, 3mo, 6mo, 1y, 2y, 5y, max. Example: get_currency_history("USDINR", "6mo")
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": {
"pair": "<pair>"
},
"name": "get_currency_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pair | Yes | ||
| period | No | 1mo |