convert_currency
Convert currency amounts between 160+ currencies with real-time exchange rates. Supports USD, EUR, GBP, JPY, and more for financial calculations.
Instructions
Convert between currencies using real-time exchange rates.
Use this for currency conversion, financial calculations, or comparing
prices across different currencies. Supports 160+ currencies including
USD, GBP, EUR, JPY, CAD, AUD, and more.
Parameters:
from_ — Source currency code (default: "USD"). Three-letter ISO code.
to — Target currency code (default: "GBP"). Three-letter ISO code.
amount — Amount to convert (default: 1). Positive number.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "convert_currency"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from_ | No | USD | |
| to | No | GBP | |
| amount | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |