Tools / fx.convert
Currency converter
fx.convert
Converts an amount between two currencies at the ECB reference rate, latest or historical.
DataLaunch set1 unit per call60 min cacheMCP: fx_convertv1.0.0
When to use it
Use for currency conversion. ECB reference rates are published on business days, so weekend and holiday requests use the last published rate. Not a trading or exact bank quote.
Input
| Field | Type | Description |
|---|---|---|
amount * | number (≥ 0, ≤ 1000000000000) | Amount in the source currency. |
from * | string | ISO 4217 code, e.g. USD. |
to * | string | ISO 4217 code, e.g. EUR. |
date | string | Historical date YYYY-MM-DD, from 1999-01-04. Omit for the latest rate. |
* required
Output
Returns data with: amount, from, to, rate, converted, rate_date, source.
Request
curl -X POST https://agentops.tools/v1/fx.convert \
-H 'content-type: application/json' \
-d '{"amount":100,"from":"USD","to":"EUR"}'Over MCP the tool is named fx_convert. Over A2A its skill id is fx.convert. Same input, same envelope.
Try it
Counts against your rate limit.
Sources
Exchange rates: European Central Bank via frankfurter.dev