Convert amount to USD
convert_to_usdConverts an amount in a supported currency to its USD equivalent using Futuur exchange rates for balances or stakes; it only calculates and does not exchange funds.
Instructions
Calculates what an amount in another currency is worth in USD at Futuur's latest exchange rates. It only calculates; nothing is exchanged and no balance changes. Use it to show a USD equivalent for a balance or a stake in USDC, USDT, EUR, BTC, ETH and other quoted currencies (see get_exchange_rates for the list). Play money (OOM) has no USD value. Returns the converted amount, the USD rate used and when the rates were updated.
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": {
"value": "<value>",
"from_currency": "<from_currency>"
},
"name": "convert_to_usd"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Amount of the source currency to convert, greater than 0. | |
| from_currency | Yes | Source currency code, e.g. "BTC", "USDC" or "EUR". |