get_exchange_rate
Retrieve the Central Bank's PTAX buy/sell exchange rate for a currency on a specified business date. Use it to access official currency quotes for historical dates.
Instructions
Get the buy/sell exchange rate of a currency on a specific date.
Returns the Central Bank's PTAX rates (buy/sell) for the given date. Note: quotes are only available on business days.
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": {
"currency": "<currency>",
"date": "<date>"
},
"name": "get_exchange_rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Quote date in YYYY-MM-DD format. Use a business day; weekends and holidays have no quote. | |
| currency | Yes | Foreign currency symbol (e.g. USD, EUR). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||