Convert currency
convert_currencyConverts an amount between USD and Central American currencies (GTQ, HNL, NIO, CRC, PAB, BZD, DOP) on a date, optionally adjusted for inflation to another year. Uses the daily central-bank rate where held, otherwise the annual average, and says which.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| date | No | YYYY-MM-DD; default today. | |
| from | Yes | ||
| amount | Yes | ||
| inflate_to_year | No | Express the result in prices of this year. |