Exchangerate Get Pair
exchangerate_get_pairGet the current exchange rate between two specific currencies (e.g., USD to EUR). Returns the conversion rate. Use for single currency pair lookups.
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": {
"to": "EUR",
"from": "USD"
},
"name": "exchangerate_get_pair"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target currency code (e.g., "JPY") | |
| from | Yes | Source currency code (e.g., "USD") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target currency code | |
| from | Yes | Source currency code | |
| rate | Yes | Exchange rate from source to target currency | |
| last_updated | Yes | Time of last update in UTC |