fx_rate
FX exchange rate + convert — Live foreign-exchange rate (ECB reference rates via Frankfurter) from one base currency to one or more targets, with optional amount conversion. Price: $0.003 USDC (Base, via x402).
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": {
"from": "<from>",
"to": "<to>"
},
"name": "fx_rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | target currency code(s), comma-separated (e.g. EUR,GBP,JPY) | |
| from | Yes | base currency ISO 4217 (e.g. USD) | |
| amount | No | optional amount to convert (default 1) |