fx_rate
Convert an amount between fiat currencies using current reference rates. Price $0.001. Paid calls are relayed to the x402 endpoint; never send private keys to this server.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "fx_rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | USD | |
| quote | No | EUR | |
| amount | No | ||
| x_payment | No | Optional legacy X-PAYMENT header value. Never send a private key. | |
| payment_signature | No | Optional x402 v2 PAYMENT-SIGNATURE header value obtained after the first call returns the live 402 challenge. Never send a private key. |