convert_currency
Convert currency amounts using European Central Bank reference rates. Supports EUR conversions, cross-currency calculations, and historical rate lookups for accurate financial conversions.
Instructions
Convert an amount between currencies using ECB reference rates.
Supports EUR to any currency, any currency to EUR, and cross-currency conversion (e.g. USD to GBP) via EUR triangulation. Uses the latest ECB reference rate, or a rate from a specific date.
Examples of questions this tool answers:
"Convert 1000 EUR to USD"
"How much is 500 GBP in EUR?"
"Convert 250 USD to JPY"
"What was 1000 EUR worth in CHF on 2025-01-15?"
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": {
"amount": "<amount>",
"from": "<from>",
"to": "<to>"
},
"name": "convert_currency"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount to convert | |
| from | Yes | Source currency code (e.g. "EUR", "USD", "GBP") | |
| to | Yes | Target currency code (e.g. "EUR", "USD", "GBP") | |
| date | No | Specific date for the rate (YYYY-MM-DD). Uses latest if omitted. |