Convert currency using ECB rates
convert_currencyConvert a numeric amount from one currency to another using the latest or a historical European Central Bank reference exchange rate.
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>",
"to": "<to>"
},
"name": "convert_currency"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target 3-letter ISO 4217 currency code (e.g. "EUR"). | |
| date | No | Optional historical date in YYYY-MM-DD format (1999-01-04 or later). Omit for latest rate. | |
| from | Yes | Source 3-letter ISO 4217 currency code (e.g. "USD"). | |
| amount | Yes | Positive amount to convert (e.g. 250 or 1000.5). |