forex_rate
Get live forex exchange rates between any two currencies, including day's change, high/low, and 52-week range.
Instructions
Get live forex exchange rate between two currencies.
Returns current rate, day's change, high/low, and 52-week range.
Args: from_currency: Source currency code (e.g., USD, EUR, GBP, AED, JPY) to_currency: Target currency code (default: INR)
Examples: forex_rate("USD", "INR") → US Dollar to Indian Rupee forex_rate("EUR", "INR") → Euro to Indian Rupee forex_rate("AED", "INR") → UAE Dirham to Indian Rupee forex_rate("USD", "EUR") → US Dollar to Euro forex_rate("GBP", "USD") → British Pound to US Dollar
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_currency": "<from_currency>"
},
"name": "forex_rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_currency | No | INR | |
| from_currency | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |