convert_currency
Converts an amount from one ISO 4217 currency to another using live exchange rates, helping users calculate current currency values.
Instructions
Convert an amount from one currency to another using live exchange rates.
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>",
"from_currency": "<from_currency>",
"to_currency": "<to_currency>"
},
"name": "convert_currency"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | The amount of money to convert. | |
| to_currency | Yes | ISO 4217 currency code to convert to, for example USD or GBP. | |
| from_currency | Yes | ISO 4217 currency code to convert from, for example EUR or USD. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |