forex_rate
Retrieve the current exchange rate between two currencies. Specify source and target currencies to obtain the rate from Alpha Vantage.
Instructions
Get a forex exchange rate from Alpha Vantage.
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": "forex_rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | ||
| to_currency | Yes | ||
| from_currency | Yes |