convert_currency
Get real-time foreign exchange rate conversion without requiring API keys.
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": {
"amount": "<amount>",
"baseCurrency": "<baseCurrency>",
"targetCurrency": "<targetCurrency>"
},
"name": "convert_currency"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount of currency to convert | |
| baseCurrency | Yes | Base 3-letter currency code (e.g. USD, MYR, EUR) | |
| targetCurrency | Yes | Target currency code (e.g. MYR, USD, JPY) |