show_fx
Inspect local FX rate cache to retrieve foreign exchange rates per USD. Use for coverage summary, historical series, or point-in-time lookup with fallback.
Instructions
Inspect the local FX rate cache (foreign per 1 USD). Without currency, returns per-currency coverage (count + first/last date). With currency + date, returns the point-in-time rate, falling back to the most recent within lookback_days. With currency + from/to, returns the cached series for that range. With currency alone, returns the limit most-recent rows. USD has no rows (it's the base, always 1.0).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "show_fx"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| currency | No | Currency code (KRW/JPY/EUR/CNY/GBP/HKD/INR/TWD). Omit for coverage summary. | |
| date | No | YYYY-MM-DD — point-in-time lookup for `currency` | |
| from | No | Start date YYYY-MM-DD | |
| to | No | End date YYYY-MM-DD | |
| limit | No | Max rows when no date range (default 60) | |
| lookback_days | No | Days to look back for a point lookup if exact date not cached |