currency_cross
Convert currency amounts using live or historical exchange rates. Provide source and target currencies, amount, and optional date.
Instructions
Get cross-currency exchange rates with optional historical date.
Parameters:
from_currency — Source currency code (default: 'USD').
to_currency — Target currency code (default: 'EUR').
amount — Amount to convert (default: 1).
date — Historical date (ISO format, optional). Leave empty for current rate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from_currency | No | USD | |
| to_currency | No | EUR | |
| amount | No | ||
| date | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |