currency_cross
Retrieve cross-currency exchange rates for current or historical dates. Convert amounts between currencies with source, target, 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 |