snb_convert_currency
Convert foreign currency amounts to Swiss Francs using official SNB monthly rates. Use for cost estimations and budget planning.
Instructions
Convert a foreign currency amount to CHF using official SNB exchange rates.
Uses the monthly average rate (Monatsmittel) from the SNB data portal. Suitable for budget calculations, cost estimations, and financial planning.
Args: params (ConvertCurrencyInput): - amount: Amount in foreign currency to convert. - currency_id: SNB currency ID (e.g. 'EUR1', 'USD1', 'JPY100'). - reference_month: Month YYYY-MM for the rate. Default: most recent.
Returns: str: CHF equivalent, exchange rate used, and reference date.
Example: amount=45000, currency_id='USD1' → CHF equivalent of USD 45,000 amount=100, currency_id='JPY100' → CHF equivalent of JPY 100
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |