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.
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>",
"currency": "<currency>"
},
"name": "convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| amount | Yes | ||
| currency | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||