get_exchange_rate
Retrieve today's exchange rate between two currencies using 3-letter ISO codes. The response includes the rate and the date.
Instructions
Look up today's exchange rate between two currencies, without
converting a specific amount. Use for "what's the exchange rate
between USD and EUR" style questions. from_currency/to_currency
are 3-letter ISO codes. Returns the rate and the date it's from.
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>",
"to_currency": "<to_currency>"
},
"name": "get_exchange_rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_currency | Yes | ||
| from_currency | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||