get_history
Get dated historical reference rates for a currency pair for a number of days, or a single date. Use for invoices, reports and reconciliation.
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": {
"from": "<from>",
"to": "<to>"
},
"name": "get_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ISO 4217 target currency code | |
| date | No | Optional single date YYYY-MM-DD | |
| days | No | Number of days back (default 365) | |
| from | Yes | ISO 4217 base currency code |