Current CHF exchange rate
get_exchange_rateRetrieve the official SNB exchange rate of a currency against CHF, expressed as CHF per N units, to convert or compare foreign-currency values using verified monthly averages.
Instructions
Latest official SNB exchange rate for a currency against CHF (monthly average, e.g. EUR, USD, GBP, JPY). Rates are 'CHF per N units of foreign currency'.
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": {
"currency": "<currency>"
},
"name": "get_exchange_rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| currency | Yes | ISO currency code, e.g. 'EUR', 'USD', 'GBP', 'JPY' |