Live currency convert (paid $0.001)
currencyConvert monetary amounts between ISO-4217 codes using cached central bank rates. Returns informational mid-market values, not tradable quotes.
Instructions
PAID $0.001. Convert an amount between currencies at reference/mid-market rates from a keyless public central-bank feed (ECB), cached. Informational, not a dealable quote. Args: amount, from, to (ISO-4217, e.g. USD, EUR, JPY). Without payment returns the x402 challenge; pass x_payment to settle.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target ISO-4217 code, e.g. EUR. | |
| from | Yes | Source ISO-4217 code, e.g. USD. | |
| amount | Yes | Amount in the source currency. | |
| x_payment | No | x402 payment payload (base64) for this PAID tool. If supplied it is forwarded as the X-PAYMENT header to settle the $0.001 call and return the real result instead of a 402 challenge. Omit to get the price challenge first. |