fx
Obtain the official ECB reference exchange rate for any fiat currency pair. Use this daily rate for currency conversion and financial reporting.
Instructions
[costs $0.002 USDC per call] Get the ECB reference exchange rate between two fiat currencies. Foreign exchange rate API: official ECB reference rate for any fiat currency pair (USD/EUR, GBP/JPY — ~30 major ISO 4217 currencies) via the open-source Frankfurter API. Published once per business day around 16:00 CET — a daily reference rate for settlement and normalization, not a live trading feed. Use for currency conversion, pricing normalization, and financial reporting by agents. Cached up to 1 hour.
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": {
"base": "<base>",
"quote": "<quote>"
},
"name": "fx"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | Yes | Base currency, ISO 4217 code (e.g. 'USD'). | |
| quote | Yes | Quote currency, ISO 4217 code (e.g. 'EUR'). |