Get Rates
get_ratesGet current exchange rates for a base currency (e.g., 'USD', 'EUR'). Returns conversion rates for all major currencies. Use when you need multiple rates at once.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"base_currency": "USD"
},
"name": "get_rates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base_currency | Yes | ISO 4217 currency code to use as the base (e.g., "USD", "EUR", "GBP") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | Yes | Base currency code | |
| rates | Yes | Map of currency codes to exchange rates | |
| rate_count | Yes | Number of exchange rates returned | |
| next_update | Yes | Time of next update in UTC | |
| last_updated | Yes | Time of last update in UTC |