convert
Exchange amounts between USD and COP using the official Colombian TRM rate, optionally for a specific date.
Instructions
Convert an amount between USD and COP at the official rate.
Args:
amount: How much to convert. Must be zero or positive.
currency: The currency of amount — "USD" or "COP".
date: ISO date of the rate to use. Defaults to today in Bogota.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| amount | Yes | ||
| currency | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||