get_forex_rate
Retrieve current exchange rates between any two currencies, such as USD to EUR or GBP to JPY, using base and target currency codes.
Instructions
Get the current exchange rate between two currencies (forex). Examples: USD to EUR, GBP to JPY.
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": "<from>",
"to": "<to>"
},
"name": "get_forex_rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | Yes | Base currency code (e.g. 'USD', 'EUR', 'GBP') | |
| to | Yes | Target currency code (e.g. 'EUR', 'JPY', 'CHF') |