Convert an amount between currencies
convert_amountConvert a money amount from one currency to another using European Central Bank rates, optionally for a specific date, and return the converted amount plus rate used.
Instructions
Convert a money amount from one currency to another using the latest ECB rate (or a specific date). Returns the converted amount and the rate used. Example: convert_amount(amount=100, base='USD', quote='EUR').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| on | No | ||
| base | Yes | ||
| quote | Yes | ||
| amount | Yes |