When to use
Call convert_currency when the user wants a quick currency conversion.
Typical phrasings:
- "how much is 200 EUR in USD"
- "is 1500 JPY about 10 USD"
- "convert my budget to euros"
The static rates are demo-grade. Do NOT use this for financial decisions or for "should I exchange now" advice — recommend the user check a real FX source for those.
How to use
- Identify the amount, source currency, target currency. ISO 4217
codes:
USD,EUR,GBP,JPY, etc. - Call
convert_currency({ amount, from, to }). The tool returns{ amount, from, to, rate, result }. - Reply in one sentence with the rounded result and the rate.
Output narration
Examples:
- "200 EUR is about 215 USD (rate ~1.075)."
- "1500 JPY is about 10 USD (rate ~0.0067)."
Anti-patterns
- Do NOT recommend exchanging or hedging based on the static rate.
- Do NOT default to USD unless the user's preferences indicate it; check the registered preferences state first.