convertCurrency
Calculate currency conversions by entering the amount, source currency, and target currency. Uses up-to-date exchange rates for accurate results.
Instructions
Convert an amount from one currency to another using latest exchange rate
Input Schema
Name | Required | Description | Default |
---|---|---|---|
amount | Yes | Amount of money to convert | |
from_currency | Yes | Currency to convert from, e.g., USD | |
to_currency | Yes | Currency to convert to, e.g., EUR |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"amount": {
"description": "Amount of money to convert",
"type": "number"
},
"from_currency": {
"description": "Currency to convert from, e.g., USD",
"type": "string"
},
"to_currency": {
"description": "Currency to convert to, e.g., EUR",
"type": "string"
}
},
"required": [
"amount",
"from_currency",
"to_currency"
],
"type": "object"
}