Convert an amount between currencies
convert_amountConvert a money amount from one currency to another using European Central Bank rates, optionally for a specific date, and return the converted amount plus rate used.
Instructions
Convert a money amount from one currency to another using the latest ECB rate (or a specific date). Returns the converted amount and the rate used. Example: convert_amount(amount=100, base='USD', quote='EUR').
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>",
"base": "<base>",
"quote": "<quote>"
},
"name": "convert_amount"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| on | No | ||
| base | Yes | ||
| quote | Yes | ||
| amount | Yes |