convert_currency
Convert amounts between currencies using official NBP mid rates via PLN. Get rates for today or any past date.
Instructions
Convert an amount between two currencies using official NBP mid exchange rates (via PLN as the intermediary), either for today or a specific date.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target three-letter ISO 4217 currency code (e.g. "PLN"). | |
| date | No | ISO date (YYYY-MM-DD) to use for both legs of the conversion. Defaults to today. | |
| from | Yes | Source three-letter ISO 4217 currency code (e.g. "USD"). | |
| amount | Yes | The amount to convert, in the `from` currency. |