convert_currency
Convert a numeric amount between two ISO 4217 currencies using European Central Bank daily reference rates. Useful for trip cost consolidation or price comparisons.
Instructions
Convert a numeric amount between two ISO 4217 currencies using the European Central Bank's daily reference rates.
USE THIS TOOL WHEN:
The user asks for a conversion ("how much is ¥30,000 in euros?", "what's $200 in pounds?")
You're presenting mixed-currency trip totals (flights in EUR + hotel in USD + activity in GBP) and want to give one consolidated number
The user wants to compare prices across vendors quoting in different currencies
Inputs:
amount(float, > 0) — the numeric value to convert.from_currency(3-letter ISO 4217 code, uppercase) — e.g. "EUR", "USD", "JPY".to_currency(3-letter ISO 4217 code, uppercase) — e.g. "EUR", "USD", "GBP".
Returns:
converted_amount— the result, rounded to 2 decimal places in your response (the raw float is precise).rate— the effective rate (1 from_currency = rate to_currency).rate_date— the ISO date of ECB's published rates. ECB updates daily around 16:00 CET. Weekend / holiday queries return the previous business day's rates — disclose this if the gap is more than 3 days.source— always"ECB".
Powered by the European Central Bank's daily reference rates feed (free, no API key). 29+ currencies covered (USD, EUR, JPY, GBP, CAD, AUD, CHF, SEK, NOK, DKK, INR, MXN, BRL, SGD, KRW, CNY, THB, HKD, NZD, CZK, HUF, IDR, ILS, ISK, MYR, PHP, PLN, RON, TRY, ZAR). If the user names a currency we don't recognize, we return invalid_input.
RESULT PRESENTATION: inline prose, not an artifact. Example: "¥30,000 = €182.45 (rate as of 13 May 2026 via ECB)." For a multi-line trip-cost summary, include the rate_date once at the bottom rather than per-line.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | ||
| to_currency | Yes | ||
| from_currency | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||