FX conversion (ECB reference rates)
fx_convertConvert an amount between ~30 major currencies (USD, EUR, JPY, GBP, CNY, KRW, ...) using the latest or a dated ECB reference rate (last ~90 days), with cross rates computed for any pair. Data: ECB euro reference rates - this data is available free of charge at ecb.europa.eu; this service adds cross-rate computation, JSON formatting and caching. Information purposes only, not for transactions. (Paid tool: $0.005 USDC per call via x402 on eip155:8453, eip155:137.)
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": "fx_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ISO 4217 code, e.g. JPY | |
| date | No | YYYY-MM-DD; uses the latest ECB rate on or before this date | |
| from | Yes | ISO 4217 code, e.g. USD | |
| amount | No | Amount in `from` currency (default 1) |