Currency Converter
CurrencyConverterCurrency Converter: Currency Converter calculates foreign exchange conversions across 170+ currencies using real-time rates. Pass an amount with source and target currency codes to receive the converted total, exchange rate, both currency names and 24-hour trend direction; paid plans add 1-day to 1-year changes, 30-day stats, and hourly and 30-day history. (Cost: 2 credits)
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": {
"value": "<value>",
"from": "<from>",
"to": "<to>"
},
"name": "CurrencyConverter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | The ISO 4217 currency code to convert to | |
| date | No | Optional past date (YYYY-MM-DD) to use that day's closing rates instead of live rates. History runs from 1999-01-04 for about 30 major currencies and covers every supported currency from March 2024. A day with no rates, such as a weekend or holiday, uses the last close before it. | |
| from | Yes | The ISO 4217 currency code to convert from | |
| value | Yes | The amount to convert | |
| hourly | No | Include the pair's rate for each of the last 24 hours (live rates only, not with date) | |
| history | No | Include the pair's daily closing rate for the last 30 days |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | Error message, null on success | |
| status | No | "ok" on success |