fx_convert_and_rates
Retrieve official ECB or U.S. Treasury FX rates and convert amounts between currencies using base and target ISO codes.
Instructions
Get official ECB daily foreign exchange rates (30 major currencies) or U.S. Treasury reporting FX rates (140+ currencies).
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": "fx_convert_and_rates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Base currency ISO-3 code (default USD) | |
| source | No | Official FX source (default ecb; use treasury for VND/AED/SAR/TWD) | |
| symbols | No | Comma-separated target currencies (e.g. EUR,GBP,JPY,SGD) |