get_latest_rate
Get the latest available source-linked reference exchange rate for a currency pair (e.g. USD to CNY). Reference data, not a transaction quote.
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_latest_rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ISO 4217 target currency code, e.g. CNY | |
| from | Yes | ISO 4217 base currency code, e.g. USD |