Convert between USD and COP at official TRM
convert_usd_copConvert an amount between USD and COP using Colombia's official TRM exchange rate for a given date, defaulting to today.
Instructions
Convert an amount between USD and COP using the official TRM of a given date (defaults to today). Source: TRM certified by the Superintendencia Financiera de Colombia, published on datos.gov.co (dataset 32sa-8pi3).
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>",
"direction": "<direction>"
},
"name": "convert_usd_cop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | TRM date to use (YYYY-MM-DD, omit for today) | |
| amount | Yes | Amount to convert | |
| direction | Yes | Conversion direction |