convert_currency
Convert currency amounts between different codes using real-time exchange rates. Enter source and target currency codes with an amount to get the converted value.
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>",
"amount": "<amount>"
},
"name": "convert_currency"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | Yes | Source currency code (e.g., USD, EUR) | |
| to | Yes | Target currency code (e.g., USD, EUR) | |
| amount | Yes | Amount to convert |