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.
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": {
"amount": "<amount>",
"from": "<from>"
},
"name": "convert_currency"
}
}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. |