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.
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": "currency_cross"
}
}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 |