Exchange Rates
query_exchange_ratesQueries the latest available reference exchange rates for currency conversion and cross-currency analysis. Prefer this tool before converting or combining Tool4seller monetary results in different currencies. Request all required currencies together for one rate snapshot. Rates express target-currency units per one unit of base; multiply source amount by rate. Do not reconvert amounts already in the target currency. Historical and settlement rates are not supported. timestamp is source publication time in Unix seconds, or null if unavailable; rates may differ from earlier report snapshots.
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": {
"base": "<base>",
"symbols": "<symbols>"
},
"name": "query_exchange_rates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | Yes | Required three-letter base currency, e.g. USD. No default. | |
| symbols | Yes | Required target currency codes. Case insensitive; duplicates are removed. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | ||
| rates | No | ||
| timestamp | No |