Get exchange rates
get_exchange_ratesDaily reference exchange rates of the New Taiwan dollar and other currencies, for one date or a date range. Data comes from the CubeLV Market Data API (https://cubelv.com/en/mcp/taiwan-economy/): pick a method and pass its arguments in args.
Methods:
fxCurrencies (Reference FX currencies): Currency codes (with their Chinese names) available for the daily reference exchange rates in fxRate and fxHistory.
fxRate (Daily reference exchange rate): Daily reference rate: how many units of quote one unit of base buys on a given date. Pairs published directly by TAIFEX use the published value; other pairs are cross rates through USD. Args: base (required): Base currency code (case-insensitive), as listed by fxCurrencies; quote (required): Quote currency code (case-insensitive); the rate is quote units per 1 base; date: Date, YYYYMMDD (Taipei); default today. Uses the latest published rate within 7 days on or before it; the response date is the rate date actually used.
fxHistory (Reference exchange rate history): Daily reference rates (quote units per 1 base) over a date range, oldest first. Args: base (required): Base currency code (case-insensitive), as listed by fxCurrencies; quote (required): Quote currency code (case-insensitive); from: Start date (inclusive), YYYYMMDD; default one year before to; to: End date (inclusive), YYYYMMDD; default today (Taipei); limit: Return only the most recent N rate dates in the range; omit for all.
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": {
"method": "<method>"
},
"name": "get_exchange_rates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Arguments of the method, as listed in the tool description | |
| lang | No | Language for data labels (industries, statement items, categories) and links: en, ja, ko or vi; default en | |
| method | Yes | Method from the list in the tool description |